zsh: rework ZDOTDIR redirection
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
6
.config/zsh.dots/.zshenv
Normal file
6
.config/zsh.dots/.zshenv
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/zsh
|
||||
if [[ -o interactive ]] ; then
|
||||
## early redirect
|
||||
ZDOTDIR="${ZDOTDIR%/${ZDOTDIR:t2}}"
|
||||
source "${ZDOTDIR}/.zshenv"
|
||||
fi
|
Reference in New Issue
Block a user