updated sheldon zsh config

This commit is contained in:
Nikolas Weger 2023-05-02 10:01:13 +02:00
parent 94ef22b629
commit 5b8b457d3c
8 changed files with 13 additions and 6 deletions

9
dot_config/zsh/dot_zshrc Normal file
View file

@ -0,0 +1,9 @@
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
# startup banner
potentialBanner=('bofh' 'hackerquotes' 'colorscript random' 'fastfetch')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# and source plugins
eval "$(sheldon source)"