mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
chezmoi: use standard script dir
This commit is contained in:
parent
eb31d815ce
commit
8b2899ca97
10 changed files with 0 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue