31 lines
954 B
Text
31 lines
954 B
Text
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; echo " - BOFH"' 'hackerquotes' 'fastfetch')#'colorscript random')
|
|
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
|
|
|
|
function source () { test -r $1 && builtin source $1 }
|
|
|
|
# local env exports
|
|
source "$XDG_DATA_HOME"/zsh/env.zsh
|
|
|
|
# completion stuff
|
|
source "$ZDOTDIR"/files/compinit.zsh
|
|
source "$ZDOTDIR"/files/bashcomps.zsh
|
|
|
|
# antidote
|
|
source "$XDG_DATA_HOME"/antidote/antidote.zsh
|
|
zstyle ':antidote:bundle' use-friendly-names 'yes'
|
|
antidote load
|
|
|
|
# eval stuff
|
|
source "$ZDOTDIR"/files/evalstuff.zsh
|
|
|
|
# seperate configs
|
|
source "$ZDOTDIR"/files/aliases.zsh
|
|
source "$ZDOTDIR"/files/functions.zsh
|
|
source "$ZDOTDIR"/files/distroicon.zsh
|
|
|
|
# ssh ignored patterns
|
|
source "$ZDOTDIR"/files/sshcomp.zsh
|