summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-04-13 17:40:33 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-04-13 17:40:33 -0400
commitb91e290d6bfb333f064fa1abc7e5560cd25beff5 (patch)
tree3223d1e3b6bd7690854d5ec88ae93996c4dc00a1 /.profile
parent515235c97a0ffd05dd38e4444d34d05ce213777a (diff)
General housekeeping
Diffstat (limited to '.profile')
-rw-r--r--.profile5
1 files changed, 3 insertions, 2 deletions
diff --git a/.profile b/.profile
index 0055553..b86c829 100644
--- a/.profile
+++ b/.profile
@@ -19,13 +19,14 @@ export DISTRIB_ID=arch
export DISTRIB_RELEASE=$(uname -r)
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
+export XDG_CACHE_HOME=$HOME/.cache
export R_PROFILE_USER=$HOME/.config/R/Rprofile
export ZDOTDIR=$XDG_CONFIG_HOME/zsh
export TEXMFHOME=$XDG_DATA_HOME/texmf
export TEXSRC=$HOME/.local/src/sherbrooke-tex
# Applications
-export EDITOR=$(which nvim)
+export EDITOR=/usr/bin/nvim
export READER=/usr/bin/zathura
export TERMINAL=/usr/local/bin/st
export TERM=/usr/local/bin/st
@@ -46,7 +47,7 @@ shortcutgen
aliasgen
# Import shortcut ENV variables
-source "$HOME/.cache/env-shortcuts"
+source "$XDG_CACHE_HOME/env-shortcuts"
# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then