diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-07-07 15:21:45 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-07-07 15:21:45 -0500 |
commit | 3764b268dbeaa95a8d4b2da8d4433eab75ad8478 (patch) | |
tree | 7c0db4481dfa7c4369f3db355056703cbe442072 /zsh/zprofile | |
download | dotconfig-3764b268dbeaa95a8d4b2da8d4433eab75ad8478.tar.xz dotconfig-3764b268dbeaa95a8d4b2da8d4433eab75ad8478.zip |
dotfiles
Diffstat (limited to 'zsh/zprofile')
-rw-r--r-- | zsh/zprofile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/zsh/zprofile b/zsh/zprofile new file mode 100644 index 0000000..b4bdedf --- /dev/null +++ b/zsh/zprofile @@ -0,0 +1,25 @@ +#!/bin/zsh + +# Path +export PATH=~/Scripts/launch:$PATH +export PATH=~/Scripts/x11:$PATH +export PATH=~/Scripts/misc:$PATH + +# Default programs: +export EDITOR="vim" +export TERMINAL="st" +#export BROWSER="brave" + +# Clean up home directory +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export XAUTHORITY="${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xauthority" +export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/zsh/inputrc" +export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" # Move .zshrc +#export VIMINIT="source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc" +export QT_QPA_PLATFORMTHEME="qt5ct" +export LESSHISTFILE="-" + +# Autostart x11 after login +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then startx ~/.config/x11/xinitrc; fi |