mirror of
https://github.com/wting/autojump
synced 2025-06-07 09:54:06 +00:00
Merge 1881967cb0
into ee21082751
This commit is contained in:
commit
b4fc62172e
@ -32,7 +32,11 @@ end
|
|||||||
# change pwd hook
|
# change pwd hook
|
||||||
function __aj_add --on-variable PWD
|
function __aj_add --on-variable PWD
|
||||||
status --is-command-substitution; and return
|
status --is-command-substitution; and return
|
||||||
autojump --add (pwd) >/dev/null 2>>$AUTOJUMP_ERROR_PATH &
|
if test -f "$AUTOJUMP_ERROR_PATH"
|
||||||
|
autojump --add (pwd) >/dev/null 2>>"$AUTOJUMP_ERROR_PATH" &
|
||||||
|
else
|
||||||
|
autojump --add (pwd) >/dev/null &
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user