fix: error while loading zsh on macos
This commit is contained in:
parent
9225991e21
commit
125a023c01
|
@ -26,7 +26,7 @@ if [[ "${BASE_SHELL}" == "zsh" ]]; then
|
|||
# SZ_TPUT_END=$(tput cup 9999 0)
|
||||
# echo $SZ_TPUT_END
|
||||
|
||||
PS1="$(zsh -c '. <(cat /etc/*-release | uniq -u); echo "$NAME $VERSION_ID "')| ZSH ${ZSH_VERSION} LOADING >"
|
||||
PS1="$(zsh -c '. <([ -n "$(echo /etc/*-release(N))" ] && cat /etc/*-release(N) | uniq -u || NAME="$VENDOR" ); echo "$NAME $VERSION_ID "')| ZSH ${ZSH_VERSION} LOADING >"
|
||||
|
||||
#""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
#""" Shell Settings """
|
||||
|
|
Loading…
Reference in New Issue