1
0
dotfiles/.config/zsh.dots/.zshenv
Konstantin Demin 3321d21f8b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
zsh: rework ZDOTDIR redirection
2024-02-29 01:04:53 +03:00

7 lines
139 B
Bash

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