Skip to content

Commit

Permalink
fix: Remove %BIN_DIR fake plugin entry from zinit times output.
Browse files Browse the repository at this point in the history
  • Loading branch information
psprint committed Dec 24, 2022
1 parent cfd3261 commit 4f1a62a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3273,9 +3273,12 @@ if [[ -e ${${ZINIT[BIN_DIR]}}/zmodules/Src/zdharma/zplugin.so ]] {

# create so that for sure no warncreateglobal warning is issued
typeset -g REPLY
typeset -ga reply

# a searchable menu of tags for current directory
zinit null light-mode autoload'zi-browse-symbol' for %$ZINIT[BIN_DIR]
ZINIT_REGISTERED_PLUGINS[-1]=()

zle -N zi-browse-symbol
zle -N zi-browse-symbol-backwards zi-browse-symbol
zle -N zi-browse-symbol-pbackwards zi-browse-symbol
Expand Down

0 comments on commit 4f1a62a

Please sign in to comment.