diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2021-07-08 13:59:52 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2021-07-08 13:59:52 +0000 |
| commit | a89edb72ee1f7168e602d4968f4ca9dd4a9a58c8 (patch) | |
| tree | d48150925d29d400192301cfe9739c02b2f16744 | |
| parent | 84532a4e5f5bad16b4147087e0465ba7d396d9a9 (diff) | |
Update zprofile
| -rw-r--r-- | .zprofile | 54 |
1 files changed, 30 insertions, 24 deletions
@@ -1,48 +1,54 @@ #!/usr/bin/env zsh # Configuration -export PATH=$PATH:$HOME/.scripts +export PATH=$PATH:$HOME/.local/bin -export EDITOR="vim" -export VISUAL="vim" -export TERMINAL="st" export BROWSER="firefox-developer-edition" -export READER="zathura" +export EDITOR="vim" export PAGER="less" +export READER="zathura" +export TERMINAL="st" +export VISUAL="vim" # XDG~ +export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" -export XDG_CACHE_HOME="$HOME/.cache" +# X11-stuff export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" export XDEFAULTS="$HOME/.config/x/defaults" -export XRESOURCES="$HOME/.config/x/resources" export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/xinitrc" +export XRESOURCES="$HOME/.config/x/resources" -export IPYTHONDIR="${XDG_CACHE_HOME:-$HOME/.cache}/ipython" -export LESSHISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/lesshist" +# More utils / Preferences +export GNUPGHOME="${XDG_CONFIG_HOME:-$HOME/.config}/gnupg" export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/inputrc" +export LESS=-F -R +export LESSHISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/lesshist" +export MANWIDTH=${MANWIDTH:-80} +export PASSWORD_STORE_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/passwordstore" +# Vim stuffs +export MYVIMRC="${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc" +export VIMINIT="source $MYVIMRC" + +# Zsh stuffs export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export ZSH_COMPDUMP=$XDG_CACHE_HOME/zcompdump-$ZSH_VERSION -export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android" -export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo" -export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" -export AWS_CONFIG_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/aws/config" -export AWS_SHARED_CREDENTIALS_FILE="${XDG_CONFIG_HOME:-$HOME/.config}/aws/credentials" -export GNUPGHOME="${XDG_CONFIG_HOME:-$HOME/.config}/gnupg" -export GEM_PATH="${XDG_CACHE_HOME:-$HOME/.cache}/gem" -export RUSTUP_HOME="${XDG_CACHE_HOME:-$HOME/.cache}/rustup" -export CARGO_HOME="${XDG_CACHE_HOME:-$HOME/.cache}/cargo" -export KUBECONFIG="${XDG_CACHE_HOME:-$HOME/.cache}/kube/config" +# +# Developer thingies +# -export VIMINIT="source ${XDG_CONFIG_HOME:-$HOME/.config}/vim/vimrc" +# Self explanatory +export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" +export IPYTHONDIR="${XDG_CACHE_HOME:-$HOME/.cache}/ipython" -# Preferences -export LESS=-R -export MANWIDTH=${MANWIDTH:-80} +# Ruby +export GEM_PATH="${XDG_CACHE_HOME:-$HOME/.cache}/gem" -alias irssi="irssi --home=${XDG_DATA_HOME:-$HOME/.config/irssi}" +# Rust +export CARGO_HOME="${XDG_CACHE_HOME:-$HOME/.cache}/cargo" +export RUSTUP_HOME="${XDG_CACHE_HOME:-$HOME/.cache}/rustup" [ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx |
