chezmoi: use standard script dir

This commit is contained in:
js0ny 2025-09-27 16:13:42 +01:00
parent eb31d815ce
commit 8b2899ca97
10 changed files with 0 additions and 0 deletions

View file

@ -1,13 +0,0 @@
#!/bin/sh
XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
if [ -f /etc/zshenv ]; then
sudo cp "$CHEZMOI_SOURCE_DIR/dot_config/zsh/global.zshenv" /etc/zshenv
fi
if [ -f /etc/zsh/zshenv ]; then
sudo cp "$CHEZMOI_SOURCE_DIR/dot_config/zsh/global.zshenv" /etc/zsh/zshenv
fi
mkdir -p $XDG_STATE_HOME/zsh