diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-03 19:27:15 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-03 19:27:15 -0400 |
commit | e371d9edd474bcf89cf5d462eaccb8638900b390 (patch) | |
tree | ed07118f5c514a55f23a779a1507640e46fd9ed2 /.profile |
Initial commit
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.profile b/.profile new file mode 100644 index 0000000..8684d7c --- /dev/null +++ b/.profile @@ -0,0 +1,48 @@ +export GOPATH=$HOME/.go +export SCRIPTS=$HOME/.scripts +export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':')" +export PATH=$PATH:/root/.local/bin +export PATH=$PATH:$HOME/.local/bin +export PATH=$PATH:$HOME/.cargo/bin +export PATH=$GOPATH/bin:$PATH +export QT_QPA_PLATFORMTHEME="qt5ct" +export EDITOR=/usr/bin/nvim +export READER=/usr/bin/zathura +export GTK2_RC_FILES="$HOME/.gtkrc-2.0" +export QT_QPA_PLATFORMTHEME="qt5ct" +export GRDB="dropbox://default@/git-private" +export TERM=st +export TERMINAL=st +export BIB=$HOME/Dropbox/A/Scholar/All/References +export REFERBIB=$HOME/Dropbox/A/Scholar/All/References/bibliography.refer +export DISTRIB_ID=arch +export DISTRIB_RELEASE=$(uname -r) +# export GOROOT=/usr/bin/go + +# fix "xdg-open fork-bomb" export your preferred browser from here +export BROWSER=firefox + +# less/man colors +export LESS=-R +export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')" # begin bold +export LESS_TERMCAP_md="$(printf '%b' '[1;36m')" # begin blink +export LESS_TERMCAP_me="$(printf '%b' '[0m')" # reset bold/blink +export LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')" # begin reverse video +export LESS_TERMCAP_se="$(printf '%b' '[0m')" # reset reverse video +export LESS_TERMCAP_us="$(printf '%b' '[1;32m')" #begin underline +export LESS_TERMCAP_ue="$(printf '%b' '[0m')" # reset underline + +# Start Desktop Environment if on the main TTY +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then +startx +fi + +# Map CAPS_LOCK correctly: +$SCRIPTS/remaps + +# gh completion +eval "$(gh completion -s zsh)" + +# Generate shortcuts and aliases +shortcutgen +aliasgen |