mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-22 03:13:09 +00:00
Make plugin zsh standard compatible
This commit is contained in:
parent
5b44d8cea1
commit
2ec11f041d
3 changed files with 3 additions and 4 deletions
|
@ -14,10 +14,9 @@
|
||||||
|
|
||||||
HSMW_REPO_DIR="${0:h}"
|
HSMW_REPO_DIR="${0:h}"
|
||||||
|
|
||||||
if [[ ${zsh_loaded_plugins[-1]} != */history-search-multi-word && -z ${fpath[(r)${0:h}]} ]]
|
if [[ $PMSPEC != *f* ]] {
|
||||||
then
|
fpath+=( "${0:h}/functions" )
|
||||||
fpath+=( "${0:h}" )
|
}
|
||||||
fi
|
|
||||||
|
|
||||||
autoload history-search-multi-word hsmw-context-main
|
autoload history-search-multi-word hsmw-context-main
|
||||||
zle -N history-search-multi-word
|
zle -N history-search-multi-word
|
||||||
|
|
Loading…
Reference in a new issue