updated sheldon zsh config

This commit is contained in:
Nikolas Weger 2023-06-20 11:26:13 +02:00
parent 0d384685b9
commit 0084e63150
5 changed files with 11 additions and 12 deletions

View file

@ -1,8 +1,8 @@
if test -v DISTROBOX_HOST_HOME; then unset ZDOTDIR; exec zsh; fi # fix distrobox
if test "x$TERMINALNAME" = "xalacritty"; then eval "$(zellij setup --generate-auto-start zsh)"; fi # autostart zellij only in alacritty
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=('bofh' 'hackerquotes' 'colorscript random' 'fastfetch')
potentialBanner=('bofh' 'hackerquotes' 'dadjoke' 'colorscript random' 'fastfetch')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# and source plugins