From 6d1a9ffac92fa0be7163a23efae24e44f988aaf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Thu, 15 Mar 2012 16:29:07 +0100 Subject: [PATCH] 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 --- autojump.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autojump.bash b/autojump.bash index e1b9685..05d312f 100644 --- a/autojump.bash +++ b/autojump.bash @@ -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