1
0

zsh: rework ZDOTDIR redirection
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-02-29 01:04:53 +03:00
parent 7aac214e04
commit 3321d21f8b
6 changed files with 9 additions and 3 deletions

View File

@@ -2,6 +2,5 @@
if [[ -o interactive ]] ; then
## early redirect
: "${ZDOTDIR:=${HOME}}"
[ "${ZDOTDIR}" = "${HOME}/.cache/zsh/dots" ] && ZDOTDIR="${HOME}"
source "${ZDOTDIR}/.config/zsh/_.zsh"
fi