commit ddbdec36a81ba889a1fe53b0c8440104e66ff7f7
parent 63ffb088271e9ef6a83782d1e24d8e0ac0d23222
Author: oscarbenedito <oscar@oscarbenedito.com>
Date: Sun, 26 Apr 2020 20:47:23 +0200
Added .zshenv symlink
After `$ZDOTDIR` is set, zsh will look at the new directory for the
`.zshenv`. Now it will find a symlink to `$HOME/.zshenv`. It also
changes the dotfiles-check script to no longer accept `.zshrc`.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dot_config/zsh/symlink_dot_zshenv.tmpl b/dot_config/zsh/symlink_dot_zshenv.tmpl
@@ -0,0 +1 @@
+{{ .chezmoi.homedir }}/.zshenv
diff --git a/dot_local/bin/executable_,dotfiles-check b/dot_local/bin/executable_,dotfiles-check
@@ -4,7 +4,7 @@ ndf=""
for f in $(ls -A "$HOME" | grep "^\."); do
case $f in
- .cache|.config|.gnupg|.local|.mozilla|.pki|.ssh|.zshenv|.zshrc) continue ;;
+ .cache|.config|.gnupg|.local|.mozilla|.pki|.ssh|.zshenv) continue ;;
*) [ -z "$ndf" ] && ndf="$f" || ndf="$ndf, $f" ;;
esac
done