Move mackup's config to $XDG_CONFIG_HOME/mackup
- move all of mackup's config files into $XDG_CONFIG_HOME/mackup: + ~/.mackup.cfg => configs for mackup itself + ~/.mackup/*.cfg => custom sync rules applied by mackup - add automatic installation of `pipx` and `mackup` during the setup of the dotfiles + `pipx`'s config is moved into $XDG_CONFIG_HOME + `mackup`s config locations are adapted via a "little hack"
This commit is contained in:
parent
f76b32b790
commit
1cccb7df0e
10 changed files with 68 additions and 6 deletions
5
.profile
5
.profile
|
|
@ -11,6 +11,9 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
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 $XDG_DATA_HOME/dotfiles/setup.sh
|
||||
# Make up a XDG directory for binaries (that does not exist in the standard)
|
||||
export XDG_BIN_HOME="$HOME/.local/bin" # also set temporarily in $XDG_DATA_HOME/dotfiles/setup.sh
|
||||
|
||||
|
||||
# Move common tools' config and cache files into XDG directories
|
||||
export BAT_CONFIG_PATH="$XDG_CONFIG_PATH/bat/config"
|
||||
|
|
@ -18,6 +21,7 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
|||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
export LESSHISTFILE="$XDG_STATE_HOME/less/history"
|
||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
||||
export PIPX_HOME="$XDG_DATA_HOME/pipx"
|
||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
|
||||
export PSQLRC="$XDG_CONFIG_HOME/psql/psqlrc"
|
||||
export SSB_HOME="$XDG_DATA_HOME"/zoom
|
||||
|
|
@ -37,6 +41,7 @@ export REPOS="$HOME/repos"
|
|||
|
||||
|
||||
# Python-specific configs
|
||||
export PIPX_BIN_DIR=$XDG_BIN_HOME
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
# No need for *.pyc files on a dev machine
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue