Skip to content

Commit 4032faf

Browse files
committed
Fix ZDOTDIR for servers
1 parent e63399a commit 4032faf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

zsh/.zshenv

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Symlinking the zsh config folder is not needed thanks to this.
2-
ZDOTDIR="${HOME}/Git/linux-scripts/zsh"
2+
if [ -d "${HOME}/Git" ]; then
3+
ZDOTDIR="${HOME}/Git/linux-scripts/zsh"
4+
else
5+
ZDOTDIR="${HOME}/git/linux-scripts/zsh"
6+
fi
37

48
if [ -f "${HOME}/.cargo/env" ]; then
59
. "${HOME}/.cargo/env"

0 commit comments

Comments
 (0)