mirror of
https://github.com/wting/autojump
synced 2026-03-02 03:49:26 +00:00
Remove loading compinit module from autojump.zsh.
I've updated the documentation to notify end users to add compinit to their ~/.zshrc if they want tab completion.
This commit is contained in:
@@ -54,6 +54,19 @@ wrapper function.
|
||||
.fi
|
||||
.SS ADDITIONAL CONFIGURATION
|
||||
.IP \[bu] 2
|
||||
Enable ZSH Tab Completion
|
||||
.RS 2
|
||||
.PP
|
||||
ZSH tab completion requires the \f[C]compinit\f[] module to be loaded.
|
||||
Please add the following line to your ~/.zshrc:
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
autoload\ -U\ compinit;\ compinit
|
||||
\f[]
|
||||
.fi
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
Always Ignore Case
|
||||
.RS 2
|
||||
.PP
|
||||
|
||||
@@ -18,6 +18,12 @@ Options must be passed to 'autojump' and not the 'j' wrapper function.
|
||||
|
||||
## ADDITIONAL CONFIGURATION
|
||||
|
||||
- Enable ZSH Tab Completion
|
||||
|
||||
ZSH tab completion requires the `compinit` module to be loaded. Please add the following line to your ~/.zshrc:
|
||||
|
||||
autoload -U compinit; compinit
|
||||
|
||||
- Always Ignore Case
|
||||
|
||||
Default behavior is to prioritize exact matches over all else. For example, `j foo` will prefer /foobar over /FooBar even if the latter has a higher weight. To change this behavior and ignore case, add the following environmental variable in your ~/.bashrc:
|
||||
|
||||
Reference in New Issue
Block a user