Merge branch 'master' of git.eeleater.org:eeleater/dotfiles

This commit is contained in:
eeleater 2021-12-03 09:25:23 +01:00
commit da05e7b0e8
3 changed files with 8 additions and 14 deletions

View file

@ -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"

View file

@ -0,0 +1,2 @@
_evalcache zoxide init zsh
_evalcache dircolors -b $LSCOLORSFILE

View file

@ -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