This commit is contained in:
Jun Hao 2016-05-12 02:11:58 +00:00
commit ce16accd61
4 changed files with 19 additions and 3 deletions

View file

@ -8,7 +8,11 @@ setopt always_to_end
WORDCHARS=''
zmodload -i zsh/complist
if [[ -n $ZSH_MODULE_PATH ]]; then
module_path=$ZSH_MODULE_PATH zmodload -i zsh/complist
else
zmodload -i zsh/complist
fi
## case-insensitive (all),partial-word and then substring completion
if [ "x$CASE_SENSITIVE" = "xtrue" ]; then

View file

@ -101,7 +101,12 @@ function env_default() {
# Required for $langinfo
zmodload zsh/langinfo
if [[ -n $ZSH_MODULE_PATH ]]; then
module_path=$ZSH_MODULE_PATH zmodload zsh/langinfo
else
zmodload zsh/langinfo
fi
# URL-encode a string
#