mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: bash, ipython, sioyek, zed
This commit is contained in:
parent
295f94ddb9
commit
81da252906
32 changed files with 51 additions and 644 deletions
13
scripts/run_once_zsh-set-env.sh
Normal file
13
scripts/run_once_zsh-set-env.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/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