dotfiles/dot_config/zsh/rc.zsh
eeleater 8f5ff058fa Update .config/sheldon/plugins.toml
Update .config/zsh/files/aliases.zsh
Update .config/zsh/files/compinit.zsh
Update .config/zsh/rc.zsh
2022-12-29 14:39:33 +01:00

9 lines
470 B
Bash

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
potentialBanner=('bofh; echo " - BOFH"' 'fastfetch' 'hackerquotes' 'colorscript random')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
() { test -r $1 && source $1 } "$XDG_CACHE_HOME"/p10k-instant-prompt-$USERNAME.zsh
eval "$(sheldon source)"