Skip to content

Commit

Permalink
refactor(zsh): use brew plugin to set path instead
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Dec 22, 2023
1 parent e224c7e commit 0b9f6bb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions configs/zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ fi
# typeset -g suggestion="$pattern from openai"
# }

zinit snippet OMZP::brew

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
Expand All @@ -117,7 +119,6 @@ else
zinit light zdharma-continuum/fast-syntax-highlighting

zinit snippet OMZP::asdf
zinit snippet OMZP::brew
zinit snippet OMZP::common-aliases
zinit ice lucid as"completion"
zinit snippet OMZP::docker/completions/_docker
Expand All @@ -132,13 +133,6 @@ else
zinit snippet OMZP::npm
fi

if test -d /opt/homebrew/bin; then
export PATH="/opt/homebrew/bin:$PATH"
fi
if test -d /opt/homebrew/sbin; then
export PATH="/opt/homebrew/sbin:$PATH"
fi

if $USE_STARSHIP; then
# Setup starship
. <(starship init zsh)
Expand Down

0 comments on commit 0b9f6bb

Please sign in to comment.