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
pull/119/head
Joël Schaerer 12 years ago
parent 448696ef9b
commit 6d1a9ffac9

@ -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

Loading…
Cancel
Save