summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-09 22:37:26 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-09 22:37:26 +0100
commit37da47f677c280d80c5959896ce16e826dae9c89 (patch)
tree0049ba74f268051e8f415445bef32a6ad939e823 /config
parentda57f48abb29a572782e4274a75f76284c20b421 (diff)
updated zsh files to ZDOTDIT/<file>
Diffstat (limited to 'config')
-rw-r--r--config/essentials/zsh/aliases.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/essentials/zsh/aliases.zsh b/config/essentials/zsh/aliases.zsh
index 1d3a54b..493248d 100644
--- a/config/essentials/zsh/aliases.zsh
+++ b/config/essentials/zsh/aliases.zsh
@@ -99,13 +99,13 @@ alias -g pi='ping archlinux.org -c4'
alias -g sba='source bin/activate'
alias -g smc='systemctl'
alias -g smcu='systemctl --user'
-alias zsr='source ~/.zshrc && rehash'
+alias zsr='source ${ZDOTDIR:-$HOME}/.zshrc && rehash'
alias -g wf='doas wipefs -a'
alias -g dmci="doas make clean install"
# quick config
-alias -g ez='$EDITOR ~/.zshrc'
-alias -g eza='$EDITOR ~/.config/zsh/aliases.zsh'
+alias -g ez='$EDITOR ${ZDOTDIR:-$HOME}/.zshrc'
+alias -g eza='$EDITOR ${ZDOTDIR}/aliases.zsh'
alias -g eto='$EDITOR ~/sync/TODO'
alias -g edw='$EDITOR ~/src/dwm/config.def.h'
alias -g edm='$EDITOR ~/src/dmenu/config.def.h'