Skip to content

Commit

Permalink
refactor(zsh): better vim detection
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Nov 10, 2023
1 parent 905300a commit 47713e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fi
# typeset -g suggestion="$pattern from openai"
# }

if ! (echo "$PATH" | grep -q vim) && test -z "$TMUX" -a -z "$TERM_PROGRAM" -a ! -f ~/no-tmux; then
if test -z "$VIM" && test -z "$TMUX" && test -z "$TERM_PROGRAM" && test ! -f ~/no-tmux; then
zinit ice lucid wait"0"
zinit snippet OMZ::plugins/tmux
else
Expand Down

0 comments on commit 47713e1

Please sign in to comment.