Update dot_zshrc
This commit is contained in:
parent
d491bebb72
commit
0bfc1e26a7
1 changed files with 6 additions and 4 deletions
10
dot_zshrc
10
dot_zshrc
|
@ -13,12 +13,13 @@ zstyle ':z4h:ssh:*' enable 'no'
|
||||||
zstyle ':z4h:direnv' enable 'yes'
|
zstyle ':z4h:direnv' enable 'yes'
|
||||||
zstyle ':z4h:direnv:success' notify 'no'
|
zstyle ':z4h:direnv:success' notify 'no'
|
||||||
|
|
||||||
|
# install plugins
|
||||||
z4h install ohmyzsh/ohmyzsh || return
|
z4h install ohmyzsh/ohmyzsh || return
|
||||||
z4h install urbainvaes/fzf-marks || return
|
z4h install urbainvaes/fzf-marks || return
|
||||||
z4h install mroth/evalcache || return
|
z4h install mroth/evalcache || return
|
||||||
z4h install trapd00r/LS_COLORS || return
|
z4h install trapd00r/LS_COLORS || return
|
||||||
|
|
||||||
# initialize z4h (no network stuff after here)
|
# initialize z4h
|
||||||
z4h init || return
|
z4h init || return
|
||||||
|
|
||||||
# exports
|
# exports
|
||||||
|
@ -37,7 +38,7 @@ z4h source -c $Z4H/mroth/evalcache/evalcache.plugin.zsh
|
||||||
|
|
||||||
# eval stuff
|
# eval stuff
|
||||||
_evalcache zoxide init zsh
|
_evalcache zoxide init zsh
|
||||||
_evalcache dircolors -b $LSCOLORS
|
_evalcache dircolors -b $LSCOLORSFILE
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
z4h source -c $HOME/.config/zsh/aliases.zsh
|
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/sshagent.zsh
|
||||||
z4h source -c $HOME/.config/zsh/sshcompfix.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
|
[[ -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
|
setopt prompt_subst inc_append_history
|
||||||
|
|
||||||
|
# localrc
|
||||||
z4h source -c $HOME/.config/local/rc.zsh
|
z4h source -c $HOME/.config/local/rc.zsh
|
||||||
|
|
Loading…
Add table
Reference in a new issue