1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Add vim and emacs to the list of completed programs

Unfortunately this list is likely to grow longer and
longer, but I couldn't find a way to complete all
commands. More context:

http://superuser.com/questions/333213/is-it-possible-to-configure-the-way-bash-completes-directory-names
This commit is contained in:
Joël Schaerer 2012-03-15 16:29:07 +01:00
parent 448696ef9b
commit 6d1a9ffac9

View File

@ -44,7 +44,7 @@ _autojump_files()
EOF
fi
}
complete -o default -o bashdefault -F _autojump_files cp mv meld diff kdiff3
complete -o default -o bashdefault -F _autojump_files cp mv meld diff kdiff3 vim emacs
#determine the data directory according to the XDG Base Directory Specification
if [ -n "$XDG_DATA_HOME" ]; then