Different cache directory on macOS.
This commit is contained in:
parent
5b38c3dd1c
commit
fa1322ee9b
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,10 @@ ln -sf ~/.local/dotfiles/tmux ~/.config/
|
|||
## zsh
|
||||
echo "skip_global_compinit=1" > $HOME/.zshenv
|
||||
echo "export XDG_DATA_HOME=$HOME/.local/share" >> $HOME/.zshenv
|
||||
echo "export XDG_CACHE_HOME=$HOME/.cache" >> $HOME/.zshenv
|
||||
case $(uname -s) in;
|
||||
Darwin) echo "export XDG_CACHE_HOME=$HOME/Library/Caches" >> $HOME/.zshenv
|
||||
Linux) echo "export XDG_CACHE_HOME=$HOME/.cache" >> $HOME/.zshenv
|
||||
esac
|
||||
echo "export XDG_CONFIG_HOME=$HOME/.config" >> $HOME/.zshenv
|
||||
echo "export ZDOTDIR=$HOME/.config/zsh" >> $HOME/.zshenv
|
||||
ln -sf ~/.local/dotfiles/zsh ~/.config/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue