Use ZSH plugins from Homebrew

This commit is contained in:
dabruh 2022-12-14 11:45:23 +01:00
parent 5754a02099
commit 0adf10cfe9
3 changed files with 4 additions and 4 deletions

View file

@ -128,13 +128,13 @@ git_prompt_string() {
## Plugins section: Enable fish style features
# Use syntax highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $HOME/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Use history substring search
source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
source $HOME/homebrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh
# Use autosuggestion
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source $HOME/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'

View file

@ -19,5 +19,6 @@ apt-laptop:brightnessctl
pip-any:flashfocus
brew-formulas-any:kubectl,helm,shellcheck,velero,azure/kubelogin/kubelogin,derailed/k9s/k9s,fluxcd/tap/flux,weaveworks/tap/gitops
brew-formulas-any:zsh-autosuggestions,zsh-history-substring-search,zsh-syntax-highlighting
krew-any:ctx,krew,ns,slice,stern,tree

View file

@ -205,7 +205,6 @@ function setup_krew_plugins() {
done
}
function build_alacritty() {
local tmp_dir="/tmp/alacritty"