Move $XDG_CONFIG_HOME/shell/init_dotfiles to $XDG_DATA_HOME/dotfiles/setup.sh
This commit is contained in:
parent
71baf34d58
commit
f76b32b790
3 changed files with 4 additions and 6 deletions
4
.profile
4
.profile
|
@ -9,8 +9,8 @@
|
||||||
# Further Info: https://wiki.archlinux.org/title/XDG_Base_Directory
|
# Further Info: https://wiki.archlinux.org/title/XDG_Base_Directory
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
export XDG_DATA_HOME="$HOME/.local/share" # also set temporarily in ~/.config/shell/init_dotfiles.sh
|
export XDG_DATA_HOME="$HOME/.local/share" # also set temporarily in $XDG_DATA_HOME/dotfiles/setup.sh
|
||||||
export XDG_STATE_HOME="$HOME/.local/state" # also set temporarily in ~/.config/shell/init_dotfiles.sh
|
export XDG_STATE_HOME="$HOME/.local/state" # also set temporarily in $XDG_DATA_HOME/dotfiles/setup.sh
|
||||||
|
|
||||||
# Move common tools' config and cache files into XDG directories
|
# Move common tools' config and cache files into XDG directories
|
||||||
export BAT_CONFIG_PATH="$XDG_CONFIG_PATH/bat/config"
|
export BAT_CONFIG_PATH="$XDG_CONFIG_PATH/bat/config"
|
||||||
|
|
|
@ -8,10 +8,8 @@ This repository contains useful (config) files that I use on my machines.
|
||||||
On a freshly set up machine, run:
|
On a freshly set up machine, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://code.webartifex.biz/alexander/dotfiles/-/raw/main/.config/shell/init_dotfiles.sh \
|
curl https://code.webartifex.biz/alexander/dotfiles/-/raw/main/.local/share/dotfiles/setup.sh \
|
||||||
> ./init_dotfiles.sh \
|
> ./setup.sh && source ./setup.sh && rm ./setup.sh
|
||||||
&& source ./init_dotfiles.sh \
|
|
||||||
&& rm ./init_dotfiles.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
This gives you a local copy of the latest version of this repository
|
This gives you a local copy of the latest version of this repository
|
||||||
|
|
Loading…
Reference in a new issue