From c368ea0dacfb864d813bc33aeef6f90577fe16fb Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 18 Jun 2024 14:54:45 +0200 Subject: replace ~/.zsh with $ZDOTDIR --- zsh/.zsh/.zcalcrc | 2 +- zsh/.zsh/.zlogin | 2 +- zsh/.zsh/.zlogout | 2 +- zsh/.zsh/.zprofile | 4 ++-- zsh/.zsh/.zshrc | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zsh/.zsh/.zcalcrc b/zsh/.zsh/.zcalcrc index 400145d..daa9fdb 100644 --- a/zsh/.zsh/.zcalcrc +++ b/zsh/.zsh/.zcalcrc @@ -1,4 +1,4 @@ -# Filename: ~/.zsh/.zcalcrc +# Filename: $ZDOTDIR/.zcalcrc # Purpose: config file for zcalc (calculator in zsh) # Authors: Dennis Eriksen # Bug-Reports: Email diff --git a/zsh/.zsh/.zlogin b/zsh/.zsh/.zlogin index 2523f06..d543722 100644 --- a/zsh/.zsh/.zlogin +++ b/zsh/.zsh/.zlogin @@ -1,4 +1,4 @@ -# Filename: ~/.zsh/.zlogin +# Filename: $ZDOTDIR/.zlogin # Purpose: config file for zsh (z shell) # Authors: Dennis Eriksen # Bug-Reports: Email diff --git a/zsh/.zsh/.zlogout b/zsh/.zsh/.zlogout index 950d04a..732f731 100644 --- a/zsh/.zsh/.zlogout +++ b/zsh/.zsh/.zlogout @@ -1,4 +1,4 @@ -# Filename: ~/.zsh/.zlogout +# Filename: $ZDOTDIR/.zlogout # Purpose: logout-file for zsh (z shell) # Authors: Dennis Eriksen # Bug-Reports: Email diff --git a/zsh/.zsh/.zprofile b/zsh/.zsh/.zprofile index cf3b8d0..a39d750 100644 --- a/zsh/.zsh/.zprofile +++ b/zsh/.zsh/.zprofile @@ -1,4 +1,4 @@ -# Filename: ~/.zsh/.zprofile +# Filename: $ZDOTDIR/.zprofile # Purpose: config file for zsh (z shell) # Authors: Dennis Eriksen # Bug-Reports: Email @@ -136,7 +136,7 @@ have systemctl && export SYSTEMD_PAGER='' # Set TERM if it is unset. This should *not* happen. (( $+TERM )) || TERM=dumb -# Set COLORTERM to truecolor if we're on a supported TERM. Can also be reset in ~/.zsh/.zshrc.local +# Set COLORTERM to truecolor if we're on a supported TERM. Can also be reset in $ZDOTDIR/.zshrc.local if (( ! $+COLORTERM )); then case $TERM in iterm |\ diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc index 875598e..c46b04a 100644 --- a/zsh/.zsh/.zshrc +++ b/zsh/.zsh/.zshrc @@ -1,4 +1,4 @@ -# Filename: ~/.zsh/.zshrc +# Filename: $ZDOTDIR/.zshrc # Purpose: config file for zsh (z shell) # Authors: Dennis Eriksen # Bug-Reports: Email @@ -264,7 +264,7 @@ fi alias psc='ps xawf -eo pid,user,cgroup,args' # http://0pointer.de/blog/projects/systemd-for-admins-2.html # edit zshrc -alias zconfig='$EDITOR ~/.zsh/.zshrc' +alias zconfig='$EDITOR $ZDOTDIR/.zshrc' # Check mdstat have mdadm && alias mdstat='cat /proc/mdstat' -- cgit v1.2.3