1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

fix minor fish shell commands

This commit is contained in:
William Ting
2013-12-31 10:59:01 -06:00
parent c15996db19
commit 77eddd3c0b
2 changed files with 19 additions and 17 deletions

View File

@@ -3,17 +3,15 @@ if test -d ~/.autojump
set -x PATH ~/.autojump/bin $PATH
end
set -x AUTOJUMP_HOME $HOME
# enable tab completion
complete -x -c j -a '(autojump --bash --complete (commandline -t))'
complete -x -c j -a '(autojump --complete (commandline -t))'
# change pwd hook
function __aj_add --on-variable PWD
status --is-command-substitution; and return
autojump -a (pwd) &>/dev/null &
autojump -a (pwd) >/dev/null &
end