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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user