Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Nov 21, 2024
1 parent f917702 commit e74d2f0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ else
fi

# Homebrew completion
if type brew &>/dev/null; then
if (( $+commands[brew] )); then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
Expand Down Expand Up @@ -228,8 +228,10 @@ elif [[ $OSTYPE == linux* ]]; then
fi

# lsp booster
zinit ice wait lucid depth"1" from"gh-r" sbin"**/emacs-lsp-booster"
zinit light blahgeek/emacs-lsp-booster
if (( $+commands[emacs-lsp-booster] == 0 )); then
zinit ice wait lucid depth"1" from"gh-r" sbin"**/emacs-lsp-booster"
zinit light blahgeek/emacs-lsp-booster
fi

#
# Aliases
Expand Down

0 comments on commit e74d2f0

Please sign in to comment.