summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-03 19:27:15 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-03 19:27:15 -0400
commite371d9edd474bcf89cf5d462eaccb8638900b390 (patch)
treeed07118f5c514a55f23a779a1507640e46fd9ed2 /.profile
Initial commit
Diffstat (limited to '.profile')
-rw-r--r--.profile48
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' '')" # begin bold
+export LESS_TERMCAP_md="$(printf '%b' '')" # begin blink
+export LESS_TERMCAP_me="$(printf '%b' '')" # reset bold/blink
+export LESS_TERMCAP_so="$(printf '%b' '')" # begin reverse video
+export LESS_TERMCAP_se="$(printf '%b' '')" # reset reverse video
+export LESS_TERMCAP_us="$(printf '%b' '')" #begin underline
+export LESS_TERMCAP_ue="$(printf '%b' '')" # 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