diff --git a/dot_config/zsh/aliases.zsh b/dot_config/zsh/aliases.zsh index 954a7e1..ea145a6 100644 --- a/dot_config/zsh/aliases.zsh +++ b/dot_config/zsh/aliases.zsh @@ -12,13 +12,3 @@ alias tree='tree -a -I .git' alias https='http --default-scheme=https' alias termbin="nc termbin.com 9999" if (( ${+commands[nvim]} )); then alias vim="nvim"; fi - -# systemd -alias sc-status="sudo systemctl status" -alias sc-start="sudo systemctl start" -alias sc-stop="sudo systemctl stop" -alias sc-reload="sudo systemctl reload" -alias sc-restart="sudo systemctl restart" -alias sc-enable="sudo systemctl enable" -alias sc-disable="sudo systemctl disable" -alias sc-daemon-reload="sudo systemctl daemon-reload" diff --git a/dot_config/zsh/evalcache.zsh b/dot_config/zsh/evalcache.zsh new file mode 100644 index 0000000..243449e --- /dev/null +++ b/dot_config/zsh/evalcache.zsh @@ -0,0 +1,2 @@ +_evalcache zoxide init zsh +_evalcache dircolors -b $LSCOLORSFILE diff --git a/dot_zshrc b/dot_zshrc index 7cb322d..acb96dc 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -19,19 +19,20 @@ z4h install urbainvaes/fzf-marks || return z4h install mroth/evalcache || return z4h install trapd00r/LS_COLORS || return z4h install zpm-zsh/colorize || return +z4h install desyncr/auto-ls || return # initialize z4h z4h init || return # exports z4h source -c $HOME/.config/zsh/export.zsh -z4h source -c $HOME/.config/local/env.zsh +z4h source -c $HOME/.config/local/export.zsh # libraries (ohmyzsh) for l in 'history' 'completion' 'directories' 'clipboard' 'grep'; do z4h source -c $OML/$l.zsh; done # plugins (ohmyzsh) -for p in 'command-not-found' 'extract'; do z4h source -c $OMP/$p/$p.plugin.zsh; done +for p in 'command-not-found' 'extract' 'systemd'; do z4h source -c $OMP/$p/$p.plugin.zsh; done # plugins (self) z4h source -c $Z4H/urbainvaes/fzf-marks/fzf-marks.plugin.zsh @@ -39,8 +40,8 @@ z4h source -c $Z4H/mroth/evalcache/evalcache.plugin.zsh z4h source -c $Z4H/zpm-zsh/colorize/colorize.plugin.zsh # eval stuff -_evalcache zoxide init zsh -_evalcache dircolors -b $LSCOLORSFILE +z4h source -c $HOME/.config/zsh/evalcache.zsh +z4h source -c $HOME/.config/local/evalcache.zsh # aliases z4h source -c $HOME/.config/zsh/aliases.zsh @@ -48,6 +49,7 @@ z4h source -c $HOME/.config/local/aliases.zsh # key bindings z4h source -c $HOME/.config/zsh/keybinds.zsh +z4h source -c $HOME/.config/local/keybinds.zsh # ssh stuff z4h source -c $HOME/.config/zsh/sshagent.zsh