|
|
|
@ -3,11 +3,6 @@
|
|
|
|
|
|
|
|
|
|
# Adds `~/.local/bin` and all subdirectories to $PATH
|
|
|
|
|
export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
|
|
|
|
export PATH="${HOME}/.nimble/bin:${PATH}"
|
|
|
|
|
export PATH="${HOME}/.pyenv/bin:${PATH}"
|
|
|
|
|
export PATH="${GOBIN}:${PATH}"
|
|
|
|
|
eval "$(pyenv init -)"
|
|
|
|
|
eval "$(pyenv virtualenv-init -)"
|
|
|
|
|
|
|
|
|
|
export BROWSER="firefox"
|
|
|
|
|
export RTV_BROWSER="qutebrowser"
|
|
|
|
@ -18,7 +13,6 @@ export READER="zathura"
|
|
|
|
|
export STATUSBAR="dwmblocks"
|
|
|
|
|
export TERMINAL="st"
|
|
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
|
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
|
|
|
|
|
|
|
|
|
|
export XDG_CACHE_HOME="${HOME}/.cache"
|
|
|
|
|
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
|
|
@ -26,8 +20,6 @@ export XDG_DATA_HOME="${HOME}/.local/share"
|
|
|
|
|
|
|
|
|
|
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME}/android"
|
|
|
|
|
export GNUPGHOME="${XDG_CONFIG_HOME}/gnupg"
|
|
|
|
|
export GOPATH="${HOME}/code/go"
|
|
|
|
|
export GOBIN="${GOPATH}/bin"
|
|
|
|
|
export GRADLE_USER_HOME="${XDG_CONFIG_HOME}/gradle"
|
|
|
|
|
export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc-2.0"
|
|
|
|
|
export HISTFILE="${XDG_CACHE_HOME}/shhistory"
|
|
|
|
@ -45,8 +37,24 @@ export SUDO_ASKPASS="${HOME}/.local/bin/tools/dmenupass"
|
|
|
|
|
export TMUX_TMPDIR="${XDG_CACHE_HOME}/tmux"
|
|
|
|
|
export WGETRC="${XDG_CONFIG_HOME}/wgetrc"
|
|
|
|
|
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
|
|
|
|
|
|
|
|
|
|
# java
|
|
|
|
|
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
|
|
|
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
|
|
|
|
|
|
# golang
|
|
|
|
|
export GOPATH="${HOME}/code/go"
|
|
|
|
|
export GOBIN="${GOPATH}/bin"
|
|
|
|
|
export PATH="${GOBIN}:${PATH}"
|
|
|
|
|
|
|
|
|
|
# nim
|
|
|
|
|
export PATH="${HOME}/.nimble/bin:${PATH}"
|
|
|
|
|
|
|
|
|
|
# python
|
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
|
|
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
|
|
|
|
#eval "$(pyenv init --path)"
|
|
|
|
|
|
|
|
|
|
# less/man colors
|
|
|
|
|
export LESS=-R
|
|
|
|
|
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"; a="${a%_}"
|
|
|
|
@ -57,6 +65,7 @@ export LESS_TERMCAP_se="$(printf '%b' '[0m')"; a="${a%_}"
|
|
|
|
|
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"; a="${a%_}"
|
|
|
|
|
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"; a="${a%_}"
|
|
|
|
|
|
|
|
|
|
# set sources according to used shell
|
|
|
|
|
echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "${HOME}/.bashrc"
|
|
|
|
|
echo "$0" | grep "zsh$" >/dev/null && [ -f ${ZDOTDIR}/.zshrc ] && source "${ZDOTDIR}/.zshrc"
|
|
|
|
|
|
|
|
|
|