updated sheldon zsh config
This commit is contained in:
parent
6b7cca2168
commit
0d384685b9
2 changed files with 200 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue