mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
plugin.zsh: Don't use ZERO, but 0 instead
This commit is contained in:
parent
4cde68a196
commit
73e7ea47b9
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@
|
||||||
# to ~/.zshrc.
|
# to ~/.zshrc.
|
||||||
#
|
#
|
||||||
|
|
||||||
ZERO="${(%):-%N}" # this gives immunity to functionargzero being unset
|
0="${(%):-%N}" # this gives immunity to functionargzero being unset
|
||||||
HSMW_REPO_DIR="${ZERO%/*}"
|
HSMW_REPO_DIR="${0%/*}"
|
||||||
if [[ -z "$ZPLG_CUR_PLUGIN" && "${fpath[(r)$HSMW_REPO_DIR]}" != $HSMW_REPO_DIR ]]; then
|
if [[ -z "$ZPLG_CUR_PLUGIN" && "${fpath[(r)$HSMW_REPO_DIR]}" != $HSMW_REPO_DIR ]]; then
|
||||||
fpath+=( "$HSMW_REPO_DIR" )
|
fpath+=( "$HSMW_REPO_DIR" )
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue