summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-27 00:33:20 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-27 00:33:20 +0200
commitdf589ca12cad5b00ba4cfd5920610e7c51f791a2 (patch)
treea65cf3928eb23dc08febb31a79b93d1084e15d63 /.config/shell/profile
parent0ed1f85b4bf84c97fe9d0c0db3fde9ffd08c2dda (diff)
Summer clean ~/
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.