mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-10 06:14:12 +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.
|
||||
#
|
||||
|
||||
ZERO="${(%):-%N}" # this gives immunity to functionargzero being unset
|
||||
HSMW_REPO_DIR="${ZERO%/*}"
|
||||
0="${(%):-%N}" # this gives immunity to functionargzero being unset
|
||||
HSMW_REPO_DIR="${0%/*}"
|
||||
if [[ -z "$ZPLG_CUR_PLUGIN" && "${fpath[(r)$HSMW_REPO_DIR]}" != $HSMW_REPO_DIR ]]; then
|
||||
fpath+=( "$HSMW_REPO_DIR" )
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue