File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,16 @@ enable_proxy
100100# change GITSTATUS_CACHE_DIR or XDG_CACHE_HOME to change default cache dir for gitstatus
101101# https://github.com /romkatv/gitstatus/blob/master/install
102102
103- # Powerlevel10k requires zsh version is greater than or equal to 5.1
103+ # Default zsh theme
104+ ZSH_THEME= " robbyrussell"
105+
104106if [[ " `printf '%s \n ' $(zsh --version | cut -d ' ' -f2) '5.1' | sort -V -r | head -n1`" = " 5.1" ]]; then
107+ # Powerlevel10k requires zsh version is greater than or equal to 5.1
105108 # or we can install zsh-bin to upgrade zsh version
106109 # https://github.com /romkatv/zsh-bin
107110 # sh -c " $(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)"
108-
109- ZSH_THEME= " robbyrussell"
110111elif [[ -n " $WINDSURF_CASCADE_TERMINAL" ]]; then
111- ZSH_THEME = " robbyrussell "
112+ # Windsurf is not compatiable with powerlevel10k
112113else
113114 ZSH_THEME= " powerlevel10k/powerlevel10k"
114115 [[ -s " $HOME/.p10k.zsh" ]] && \. " $HOME/.p10k.zsh"
You can’t perform that action at this time.
0 commit comments