summaryrefslogtreecommitdiff
path: root/zsh/dot-config/zsh/zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/dot-config/zsh/zprofile')
-rw-r--r--zsh/dot-config/zsh/zprofile15
1 files changed, 15 insertions, 0 deletions
diff --git a/zsh/dot-config/zsh/zprofile b/zsh/dot-config/zsh/zprofile
new file mode 100644
index 0000000..9f45164
--- /dev/null
+++ b/zsh/dot-config/zsh/zprofile
@@ -0,0 +1,15 @@
+## Adds `~/.local/bin` to $PATH
+export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
+
+# Default programs.
+export EDITOR="nvim"
+export TERMINAL="st"
+export BROWSER="firefox"
+
+## Keep the home directory tidy.
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CACHE_HOME="$HOME/.cache"
+export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
+export LESSHISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/less/history"
+export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"