Change attributes of .zshrc

This commit is contained in:
Florian Beisel 2024-06-05 11:08:00 +02:00
parent 580e92566a
commit d79b355adc
1 changed files with 4 additions and 0 deletions

View File

@ -5,8 +5,10 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
{{ if eq .chezmoi.os "darwin" -}}
# Add brew shell completions
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
{{ end -}}
# add thefuck alias
eval $(thefuck --alias)
@ -63,5 +65,7 @@ export NODE_OPTIONS="--no-deprecation"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
{{ if eq .chezmoi.os "darwin" -}}
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
{{ end -}}