From 0bfc1e26a77e3e88692b49cac5e112ea5d85800f Mon Sep 17 00:00:00 2001 From: eeleater Date: Wed, 17 Nov 2021 19:14:39 +0100 Subject: [PATCH] Update dot_zshrc --- dot_zshrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dot_zshrc b/dot_zshrc index c94b804..b223db5 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -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