Update dot_zshrc

This commit is contained in:
eeleater 2021-10-19 12:02:57 +02:00
parent fb3b7a4915
commit 8486a9e01f

View file

@ -20,23 +20,23 @@ z4h install MichaelAquilina/zsh-you-should-use || return
z4h init || return z4h init || return
# exports # exports
z4h source $HOME/.config/zsh/export.zsh z4h source -c $HOME/.config/zsh/export.zsh
z4h source $HOME/.config/local/env.zsh z4h source -c $HOME/.config/local/env.zsh
# Source Files # Source Files
OMZ="$Z4H/ohmyzsh/ohmyzsh" OMZ="$Z4H/ohmyzsh/ohmyzsh"
z4h source $HOME/.config/zsh/sshagent.zsh z4h source -c $HOME/.config/zsh/sshagent.zsh
z4h source $OMZ/lib/history.zsh z4h source -c $OMZ/lib/history.zsh
z4h source $OMZ/lib/completion.zsh z4h source -c $OMZ/lib/completion.zsh
z4h source $OMZ/lib/directories.zsh z4h source -c $OMZ/lib/directories.zsh
z4h source $OMZ/lib/clipboard.zsh z4h source -c $OMZ/lib/clipboard.zsh
z4h source $OMZ/lib/grep.zsh z4h source -c $OMZ/lib/grep.zsh
z4h source $OMZ/plugins/command-not-found/command-not-found.plugin.zsh z4h source -c $OMZ/plugins/command-not-found/command-not-found.plugin.zsh
z4h source $OMZ/plugins/extract/extract.plugin.zsh z4h source -c $OMZ/plugins/extract/extract.plugin.zsh
z4h source $Z4H/urbainvaes/fzf-marks/fzf-marks.plugin.zsh z4h source -c $Z4H/urbainvaes/fzf-marks/fzf-marks.plugin.zsh
z4h source $Z4H/mroth/evalcache/evalcache.plugin.zsh z4h source -c $Z4H/mroth/evalcache/evalcache.plugin.zsh
z4h source $Z4H/MichaelAquilina/zsh-you-should-use/you-should-use.plugin.zsh z4h source -c $Z4H/MichaelAquilina/zsh-you-should-use/you-should-use.plugin.zsh
#zinit pack for ls_colors #zinit pack for ls_colors
@ -44,8 +44,8 @@ z4h source $Z4H/MichaelAquilina/zsh-you-should-use/you-should-use.plugin.zsh
_evalcache zoxide init zsh _evalcache zoxide init zsh
# aliases # aliases
z4h source $HOME/.config/zsh/aliases.zsh z4h source -c $HOME/.config/zsh/aliases.zsh
z4h source $HOME/.config/local/aliases.zsh z4h source -c $HOME/.config/local/aliases.zsh
# key bindings # key bindings
run_ranger () { echo; ranger < $TTY; zle redisplay } run_ranger () { echo; ranger < $TTY; zle redisplay }
@ -53,7 +53,7 @@ zle -N run_ranger
bindkey '^f' run_ranger bindkey '^f' run_ranger
# fix ssh completions # fix ssh completions
z4h source $HOME/.config/zsh/sshcompfix.zsh z4h source -c $HOME/.config/zsh/sshcompfix.zsh
# Define named directories: ~wsl <=> Windows home directory on WSL. # Define named directories: ~wsl <=> Windows home directory on WSL.
[[ -z $z4h_win_home ]] || hash -d wsl=$z4h_win_home [[ -z $z4h_win_home ]] || hash -d wsl=$z4h_win_home
@ -61,4 +61,4 @@ z4h source $HOME/.config/zsh/sshcompfix.zsh
# Set shell options: http://zsh.sourceforge.net/Doc/Release/Options.html # Set shell options: http://zsh.sourceforge.net/Doc/Release/Options.html
setopt prompt_subst inc_append_history setopt prompt_subst inc_append_history
z4h source $HOME/.config/local/rc.zsh z4h source -c $HOME/.config/local/rc.zsh