14 lines
731 B
Text
14 lines
731 B
Text
test -v DISTROBOX_HOST_HOME && { unset ZDOTDIR; exec zsh } # fix distrobox
|
|
test "x$TERMINALNAME" = "xalacritty" && eval "$(zellij setup --generate-auto-start zsh)" # autostart zellij only in alacritty
|
|
|
|
# startup banner
|
|
potentialBanner=('joke bofh' 'joke dad' 'joke hq dijkstra' 'joke hq knuth' 'joke hq perlis' 'joke hq misc' 'colorscript random' 'fastfetch')
|
|
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
|
|
|
|
# source plugins
|
|
eval "$(sheldon source)"
|
|
|
|
# theme
|
|
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="$XDG_DATA_HOME/omp/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
|
|
eval "$(oh-my-posh init zsh)"
|