mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
sync: from Linux
This commit is contained in:
parent
485d7eada5
commit
dc4647915f
6 changed files with 39 additions and 3 deletions
19
bootstrap/tmp.zsh
Normal file
19
bootstrap/tmp.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export DOTFILES=~/.dotfiles
|
||||
export ZDOTDIR=~/.config/zsh
|
||||
|
||||
mkdir -p $ZDOTDIR
|
||||
mkdir -p $DOTFILES
|
||||
|
||||
git clone https://github.com/js0ny/dotfiles $DOTFILES
|
||||
|
||||
sudo cp $DOTFILES/tools/zsh/global.zshenv /etc/zsh/zshenv
|
||||
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||
|
||||
|
||||
mkdir -p $XDG_CONFIG_HOME $XDG_DATA_HOME $XDG_STATE_HOME $XDG_CACHE_HOME
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue