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:
@@ -29,7 +29,7 @@ import shutil
|
||||
import sys
|
||||
from tempfile import NamedTemporaryFile
|
||||
|
||||
VERSION = 'release-v21-rc.1'
|
||||
VERSION = 'release-v21-rc.2'
|
||||
MAX_KEYWEIGHT = 1000
|
||||
MAX_STORED_PATHS = 1000
|
||||
COMPLETION_SEPARATOR = '__'
|
||||
|
||||
@@ -31,7 +31,6 @@ function autojump_preexec() {
|
||||
{ (autojump -a "$(pwd ${_PWD_ARGS})"&)>/dev/null 2>>|${AUTOJUMP_DATA_DIR}/.autojump_errors ; } 2>/dev/null
|
||||
}
|
||||
|
||||
autoload -U compinit; compinit
|
||||
typeset -ga preexec_functions
|
||||
preexec_functions+=autojump_preexec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user