updated sheldon zsh config

This commit is contained in:
Nikolas Weger 2023-05-17 14:49:50 +02:00
parent 6b7cca2168
commit 0d384685b9
2 changed files with 200 additions and 1 deletions

View file

@ -3,7 +3,11 @@
# ohmyposh
potentialTheme=('atomic.omp.json' 'emodipt-extend.omp.json' 'kali.omp.json' 'lambda.omp.json' 'nordtron.omp.json' 'pure.omp.json' 'uew.omp.json')
export POSH_THEME="/usr/share/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
if (( ${+commands[brew]} )); then
export POSH_THEME="$(brew --prefix oh-my-posh)/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
else
export POSH_THEME="/usr/share/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
fi
eval "$(ohmyposh init zsh)"
# evalstuff