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

Disable bash autocompletion, make it optional. Add relevant documentation. Closes #140.

This commit is contained in:
William Ting
2012-11-23 08:30:15 -06:00
parent 96d9d8333e
commit 024d550c8c
5 changed files with 41 additions and 2 deletions

View File

@@ -114,6 +114,23 @@ export\ AUTOJUMP_KEEP_SYMLINKS=1
\f[]
.fi
.RE
.IP \[bu] 2
Autocomplete Additional Commands (Bash only)
.RS 2
.PP
Autojump can be used to autocomplete other commands (e.g.
cp or vim).
To use this feature, add the following environmental variable in your
~/.bashrc:
.IP
.nf
\f[C]
export\ AUTOJUMP_AUTOCOMPLETE_CMDS=\[aq]cp\ vim\[aq]
\f[]
.fi
.PP
Changes require reloading autojump to take into effect.
.RE
.SS ADVANCED USAGE
.IP \[bu] 2
Using Multiple Arguments

View File

@@ -52,6 +52,15 @@ Options must be passed to 'autojump' and not the 'j' wrapper function.
export AUTOJUMP_KEEP_SYMLINKS=1
- Autocomplete Additional Commands (Bash only)
Autojump can be used to autocomplete other commands (e.g. cp or vim). To use
this feature, add the following environmental variable in your ~/.bashrc:
export AUTOJUMP_AUTOCOMPLETE_CMDS='cp vim'
Changes require reloading autojump to take into effect.
## ADVANCED USAGE
- Using Multiple Arguments