summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/profile')
-rw-r--r--.config/shell/profile20
1 files changed, 14 insertions, 6 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index 4614eee..4a58f2e 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -1,25 +1,24 @@
#!/bin/zsh
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
-#
-#old one
-#export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
-#
+
unsetopt PROMPT_SP
# Default programs:
export EDITOR="nvim"
export TERMINAL="st"
export BROWSER="librewolf"
-#export SURFER="qutebrowser"
+export SURF="qutebrowser"
# ~/ Clean-up:
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
+
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/shell/inputrc"
+
export LESSHISTFILE="-"
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
@@ -29,9 +28,18 @@ export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config"
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store"
+export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
+export SQLITE_HISTORY="$XDG_DATA_HOME/sqlite_history"
+export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"
+export PYTHON_HISTORY="$XDG_DARA_HOME/python/history"
+export PYTHONPYCACHEPREFIX="$XDG_CACHE_HOME/python"
+export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter"
+export W3M_DIR="$XDG_CONFIG_HOME/w3m"
+
#export GNUPGHOME="${XDG_DATA_HOME:-$HOME/.local/share}/gnupg" # pam-gnupg
+
#export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
-export DOAS_ASKPASS="$HOME/.local/bin/dmenupass"
+
#start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"