Skip to content

Commit

Permalink
🐛 Fix zinit
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jan 19, 2024
1 parent 8c89828 commit afbf047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions functions/main.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@ fi
}

tmp_dir=${TMPPREFIX:-/tmp/zsh}-fzf-tab-$USER
# dictionary $ZINIT cannot be passed
PLUGINS_DIR=${ZINIT[PLUGINS_DIR]}

. $src
4 changes: 2 additions & 2 deletions sources/zinit.zsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# :fzf-tab:complete:(\\|)zinit-*
case $group in
'-- Plugin --')
less $PLUGINS_DIR/$word/README*
plugins)
less ~/.local/share/zinit/plugins/$word/README*
;;
esac

0 comments on commit afbf047

Please sign in to comment.