fix (zshrc): iterm2 requires an explicit typeset for the precmd_define_prompt
This commit is contained in:
parent
3343658120
commit
1b8218f193
1
zshrc
1
zshrc
@ -101,6 +101,7 @@ precmd_define_prompt() {
|
|||||||
PS1='%B%K{white}%F{black}%(3~|…/%1~|%~)%k%f %F{green}${vcs_info_msg_0_}%f %%%b '
|
PS1='%B%K{white}%F{black}%(3~|…/%1~|%~)%k%f %F{green}${vcs_info_msg_0_}%f %%%b '
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
typeset -ga precmd_functions
|
||||||
precmd_functions+=precmd_define_prompt
|
precmd_functions+=precmd_define_prompt
|
||||||
|
|
||||||
# include reading files from directory
|
# include reading files from directory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user