36 lines
1.1 KiB
Text
36 lines
1.1 KiB
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" }
|
|
|
|
source "$XDG_CACHE_HOME"/p10k-instant-prompt-"$USERNAME".zsh
|
|
|
|
# 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
|
|
|
|
# To customize prompt, run `p10k configure` or edit $ZDOTDIR/.p10k.zsh.
|
|
source "$ZDOTDIR"/.p10k.zsh
|