mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge 1881967cb0
into ff75f542ae
This commit is contained in:
commit
e59a87805e
@ -32,7 +32,11 @@ end
|
||||
# change pwd hook
|
||||
function __aj_add --on-variable PWD
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user