summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/profile')
-rwxr-xr-x.config/shell/profile12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 5a35b33..53366d9 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -27,6 +27,11 @@ export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config"
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/config"
export LESSHIST="-"
+export GNUPGHOME="$XDG_DATA_HOME/gnupg"
+export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
+export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
+
+# Switch layout
export ALT_KB_LAYOUT="se"
# Other program settings:
@@ -37,12 +42,19 @@ export PYENV_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
+# Rust
+export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
+
# cargo runnable
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/cargo/bin:$PATH"
# Cuda
export PATH="/opt/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/opt/cuda/lib64:$LD_LIBRARY_PATH"
+export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
+
+# Haskell
+export GHCUP_USE_XDG_DIRS=true
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on user's current tty if not already running.