Change attributes of .zshrc
This commit is contained in:
parent
580e92566a
commit
d79b355adc
|
@ -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"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
{{ if eq .chezmoi.os "darwin" -}}
|
||||||
# Add brew shell completions
|
# Add brew shell completions
|
||||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
# add thefuck alias
|
# add thefuck alias
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
@ -63,5 +65,7 @@ export NODE_OPTIONS="--no-deprecation"
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.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
|
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
|
||||||
|
{{ end -}}
|
||||||
|
|
Loading…
Reference in New Issue