summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/shell/aliasrc5
-rwxr-xr-x.config/shell/profile12
2 files changed, 16 insertions, 1 deletions
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.