summaryrefslogtreecommitdiff
path: root/.config/shell
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-03-27 22:44:06 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-03-27 22:44:06 +0100
commit82cf05216b03c4f3ba49e8d9fbc806ff077b12a7 (patch)
tree0a6efbec5bdb91acedee38749ce74556724b9520 /.config/shell
parent4544bd99d4eb5c5d191b2a45006538f2fbe046b9 (diff)
Spring clean ~
Diffstat (limited to '.config/shell')
-rwxr-xr-x.config/shell/aliasrc2
-rw-r--r--.config/shell/variables9
2 files changed, 11 insertions, 0 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 5026e44..9cd6161 100755
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -62,3 +62,5 @@ alias dua="dots remote | xargs -L1 git --git-dir=$HOME/dotfiles/ --work-tree=$HO
# Doas smooth transition
alias sudo="doas"
+
+alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
diff --git a/.config/shell/variables b/.config/shell/variables
index 2a2a0e8..6d7418a 100644
--- a/.config/shell/variables
+++ b/.config/shell/variables
@@ -7,6 +7,7 @@ export BROWSER="firefox"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
+export $XDG_STATE_HOME="$HOME/.local/state"
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
@@ -22,6 +23,9 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
+export TERMINFO="$XDG_DATA_HOME/terminfo"
+export TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo"
+
# Haskell cabal
export CABAL_CONFIG="$XDG_CONFIG_HOME/cabal/config"
export CABAL_DIR="$XDG_DATA_HOME/cabal"
@@ -43,6 +47,8 @@ export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export PYENV_ROOT="${XDG_DATA_HOME:-$HOME/.local/share}/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
+export PYTHONSTARTUP="${XDG_CONFIG_HOME}/python/pythonrc"
+
# Rust
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
@@ -59,6 +65,9 @@ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export GHCUP_USE_XDG_DIRS=true
export PATH="$XDG_DATA_HOME/cabal/bin/fourmolu:$PATH"
+# Ollama models path
+export OLLAMA_MODELS="/storage2/projects/ollama/models"
+
# This is the list for lf icons:
export LF_ICONS="di=:\
fi=:\