Fix p10k prompt init
This commit is contained in:
parent
53b7ef6140
commit
8aebad6a63
1132
dot_p10k.zsh
Normal file
1132
dot_p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,6 @@
|
|||||||
|
eval $(keychain --eval --agents ssh id_rsa)
|
||||||
|
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
|
||||||
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
@ -71,8 +74,5 @@ export PATH=$HOME/local/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/ruby/bin:$G
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
|
|
||||||
eval $(keychain --eval --agents ssh id_rsa)
|
|
||||||
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
|
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user