updated sheldon zsh config
This commit is contained in:
parent
0d384685b9
commit
0084e63150
5 changed files with 11 additions and 12 deletions
|
@ -46,7 +46,7 @@ export GIBO_BOILERPLATES="$XDG_DATA_HOME"/giboboilerplates
|
|||
# other programs
|
||||
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
|
||||
export EDITOR=nvim
|
||||
export VISUAL=kate
|
||||
#export VISUAL=kate
|
||||
export ZSH_WAKATIME_BIN=/usr/bin/wakatime
|
||||
export PYTHONSTARTUP=/etc/python/pythonrc
|
||||
|
||||
|
@ -61,4 +61,5 @@ export HISTSIZE=$(( 1.2 * SAVEHIST ))
|
|||
export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh
|
||||
export HISTFILE="$ZSH_CACHE_DIR"/history
|
||||
export GPG_TTY="$TTY"
|
||||
export DIFFPROG='meld'
|
||||
export AUTO_NTFY_DONE_IGNORE="ntfy emacs htop info less mail man meld most mutt nano screen ssh tail tmux top vi vim watch bat cat kate topgrade"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
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
|
||||
test -v DISTROBOX_HOST_HOME && { unset ZDOTDIR; exec zsh } # fix distrobox
|
||||
test "x$TERMINALNAME" = "xalacritty" && eval "$(zellij setup --generate-auto-start zsh)" # autostart zellij only in alacritty
|
||||
|
||||
# startup banner
|
||||
potentialBanner=('bofh' 'hackerquotes' 'colorscript random' 'fastfetch')
|
||||
potentialBanner=('bofh' 'hackerquotes' 'dadjoke' 'colorscript random' 'fastfetch')
|
||||
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
|
||||
|
||||
# and source plugins
|
||||
|
|
|
@ -8,7 +8,7 @@ if (( ${+commands[brew]} )); then
|
|||
else
|
||||
export POSH_THEME="/usr/share/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
|
||||
fi
|
||||
eval "$(ohmyposh init zsh)"
|
||||
eval "$(oh-my-posh init zsh)"
|
||||
|
||||
# evalstuff
|
||||
_evalcache zoxide init --cmd cd zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue