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

6
.config/zsh.dots/.zshenv Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/zsh
if [[ -o interactive ]] ; then
## early redirect
ZDOTDIR="${ZDOTDIR%/${ZDOTDIR:t2}}"
source "${ZDOTDIR}/.zshenv"
fi