Update dot_zshrc

This commit is contained in:
eeleater 2021-11-17 19:14:39 +01:00
parent d491bebb72
commit 0bfc1e26a7

View file

@ -13,12 +13,13 @@ zstyle ':z4h:ssh:*' enable 'no'
zstyle ':z4h:direnv' enable 'yes'
zstyle ':z4h:direnv:success' notify 'no'
# install plugins
z4h install ohmyzsh/ohmyzsh || return
z4h install urbainvaes/fzf-marks || return
z4h install mroth/evalcache || return
z4h install trapd00r/LS_COLORS || return
# initialize z4h (no network stuff after here)
# initialize z4h
z4h init || return
# exports
@ -37,7 +38,7 @@ z4h source -c $Z4H/mroth/evalcache/evalcache.plugin.zsh
# eval stuff
_evalcache zoxide init zsh
_evalcache dircolors -b $LSCOLORS
_evalcache dircolors -b $LSCOLORSFILE
# aliases
z4h source -c $HOME/.config/zsh/aliases.zsh
@ -50,10 +51,11 @@ z4h source -c $HOME/.config/zsh/keybinds.zsh
z4h source -c $HOME/.config/zsh/sshagent.zsh
z4h source -c $HOME/.config/zsh/sshcompfix.zsh
# Define named directories: ~wsl <=> Windows home directory on WSL.
# named directories
[[ -z $z4h_win_home ]] || hash -d wsl=$z4h_win_home
# Set shell options: http://zsh.sourceforge.net/Doc/Release/Options.html
# shell options
setopt prompt_subst inc_append_history
# localrc
z4h source -c $HOME/.config/local/rc.zsh