diff --git a/shell/zsh/_init b/shell/zsh/_init index aa070559..df66a575 100755 --- a/shell/zsh/_init +++ b/shell/zsh/_init @@ -18,7 +18,7 @@ install() { local zsh="$(which zsh)" grep $zsh /etc/shells &>/dev/null || sudo tee -a /etc/shells <<<$zsh - sudo tee $zshenv <<<"export ZDOTDIR='$ZDOTDIR'" + sudo tee $zshenv <<<"export ZDOTDIR=\"${ZDOTDIR/$HOME/\$HOME}\"" } update() {