updated antidote config somewhat
This commit is contained in:
parent
7e33d7c962
commit
ba8cf2c09f
27 changed files with 361 additions and 178 deletions
31
dot_config/zsh/dot_zshrc
Normal file
31
dot_config/zsh/dot_zshrc
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue