From df589ca12cad5b00ba4cfd5920610e7c51f791a2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 27 Jun 2022 00:33:20 +0200 Subject: Summer clean ~/ --- .config/shell/profile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/shell/profile') 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. -- cgit v1.2.3-70-g09d2