From 648253cfde7fd3f7518572f0170a9516bed1fed3 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sat, 9 Dec 2023 01:26:10 +0000 Subject: [PATCH] Latest --- docs/scripts/profile/exports.sh.tmpl.md | 2 +- home/dot_config/conda/condarc.tmpl | 6 ++++++ home/dot_config/shell/exports.sh.tmpl | 18 ++++++++++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 home/dot_config/conda/condarc.tmpl diff --git a/docs/scripts/profile/exports.sh.tmpl.md b/docs/scripts/profile/exports.sh.tmpl.md index fe145f2f..f1263c2f 100644 --- a/docs/scripts/profile/exports.sh.tmpl.md +++ b/docs/scripts/profile/exports.sh.tmpl.md @@ -331,7 +331,7 @@ export REDISCLI_RCFILE="$XDG_CONFIG_HOME/redis/redisclirc" export RIPGREP_CONFIG_PATH="$XDG_CONFIG_HOME/ripgrep/config" ### Ruby -export GEM_HOME="$XDG_DATA_HOME/gems" +export GEM_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/gems" export PATH="$PATH:$GEM_HOME/bin" ### Rustup diff --git a/home/dot_config/conda/condarc.tmpl b/home/dot_config/conda/condarc.tmpl new file mode 100644 index 00000000..d7f814f0 --- /dev/null +++ b/home/dot_config/conda/condarc.tmpl @@ -0,0 +1,6 @@ +conda-build: + root-dir: {{ .host.home }}/.local/share/conda/conda-bld +envs_dirs: + - ${XDG_DATA_HOME}/conda/envs +pkgs_dirs: + - ${XDG_CACHE_HOME}/conda/pkgs \ No newline at end of file diff --git a/home/dot_config/shell/exports.sh.tmpl b/home/dot_config/shell/exports.sh.tmpl index 429a3137..0ac3a3e7 100644 --- a/home/dot_config/shell/exports.sh.tmpl +++ b/home/dot_config/shell/exports.sh.tmpl @@ -101,8 +101,9 @@ else fi ### Ansible -export ANSIBLE_CONFIG="${XDG_DATA_HOME:-$HOME/.local/share}/ansible/ansible.cfg" export ANSIBLE_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/ansible" +export ANSIBLE_CONFIG="$ANSIBLE_HOME/ansible.cfg" +export ANSIBLE_GALAXY_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/ansible/galaxy_cache" ### Aqua export AQUA_ROOT_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/aqua" @@ -251,6 +252,9 @@ fi ### Gradle export GRADLE_USER_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/gradle" +### GitLab Runner +export CONFIG_FILE=${XDG_CONFIG_HOME:-$HOME/.config}/gitlab-runner/config.toml + ### Hishtory export HISHTORY_PATH="${XDG_CONFIG_HOME:-$HOME/.config}/hishtory" export HSTR_CONFIG=hicolor @@ -280,7 +284,7 @@ export KREW_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/krew" export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" ### Kube -export KUBECONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/kube/config" +export KUBECONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/kube" ### MacPrefs export MACPREFS_BACKUP_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/macprefs" @@ -302,6 +306,9 @@ if [ -f /Applications/monero-wallet-gui.app/Contents/MacOS/monerod ]; then export PATH="$PATH:/Applications/monero-wallet-gui.app/Contents/MacOS" fi +### Mutagen +export MUTAGEN_DATA_DIRECTORY="${XDG_DATA_HOME:-$HOME/.local/share}/mutagen" + ### MySQL export MYSQL_HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/mysql_history" @@ -394,6 +401,11 @@ export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/readline/inputrc" export REDISCLI_HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/redis/rediscli_history" export REDISCLI_RCFILE="${XDG_CONFIG_HOME:-$HOME/.config}/redis/redisclirc" +### R +export R_HOME_USER="${XDG_CONFIG_HOME:-$HOME/.config}/R" +export R_PROFILE_USER="${XDG_CONFIG_HOME:-$HOME/.config}/R/profile" +export R_HISTFILE="${XDG_CONFIG_HOME:-$HOME/.config}/R/history" + ### ripgrep export RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME:-$HOME/.config}/ripgrep/config" @@ -405,6 +417,8 @@ elif [ -d "${HOMEBREW_PREFIX:-/opt/homebrew}/opt/ruby/bin" ]; then export PATH="${HOMEBREW_PREFIX:-/opt/homebrew}/opt/ruby/bin:$PATH" fi export GEM_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/gems" +export GEM_PATH="${XDG_DATA_HOME:-$HOME/.local/share}/gems" +export GEM_SPEC_CACHE="$GEM_HOME/specs" export PATH="$PATH:$GEM_HOME/bin" ### Rustup