Fixed zsh config
This commit is contained in:
parent
8e48e19031
commit
d3f1e6bd6c
1 changed files with 6 additions and 3 deletions
|
@ -113,12 +113,12 @@ compinit -d
|
|||
|
||||
|
||||
autoload -U add-zsh-hook
|
||||
add-zsh-hook precmd mzc_termsupport_precmd
|
||||
add-zsh-hook preexec mzc_termsupport_preexec
|
||||
#add-zsh-hook precmd mzc_termsupport_precmd
|
||||
#add-zsh-hook preexec mzc_termsupport_preexec
|
||||
# Use a precmd hook instead of a chpwd hook to avoid contaminating output
|
||||
# i.e. when a script or function changes directory without `cd -q`, chpwd
|
||||
# will be called the output may be swallowed by the script or function.
|
||||
add-zsh-hook precmd mzc_termsupport_cwd
|
||||
#add-zsh-hook precmd mzc_termsupport_cwd
|
||||
|
||||
source ~/.config/zsh/conf.d/*.zsh
|
||||
|
||||
|
@ -380,3 +380,6 @@ fi
|
|||
|
||||
[[ ! -f ~/.zshrc.local ]] || source ~/.zshrc.local
|
||||
[[ ! -f ~/.config/zsh/p10k.zsh ]] || source ~/.config/zsh/p10k.zsh
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue