1
0
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:
William Ting
2012-07-02 17:34:21 -10:00
parent ca8763aa02
commit 3acedf2ed8
6 changed files with 100 additions and 70 deletions

View File

@@ -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 = '__'

View File

@@ -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