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/aliasrc | 5 ++++- .config/shell/profile | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 89d8f7b..174f851 100755 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -37,7 +37,10 @@ alias \ p="sudo pacman" \ config="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" \ npm="fnm" \ - z="zathura" + z="zathura" \ + mbsync="mbsync -c $MBSYNCRC" \ + monerod=monerod --data-dir "$XDG_DATA_HOME"/bitmonero \ + wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts" # Pushing to multiple git repositories alias gua="git remote | xargs -L1 git push --all" 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