fix: error while loading zsh on macos

This commit is contained in:
Lockszmith (@VAST) 2025-02-25 09:34:42 -05:00
parent 9225991e21
commit 125a023c01
1 changed files with 1 additions and 1 deletions

View File

@ -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 """