summaryrefslogtreecommitdiff
path: root/.profile
blob: c707c22d4e3a3ffc3d8123d605aedab5007aa168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export GOPATH=$HOME/.go
export SCRIPTS=$HOME/.local/bin
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=$PATH$( find $HOME/.local/bin/ -type d -printf ":%p" )
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=$(which 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

# gh completion
eval "$(gh completion -s zsh)"

# Generate shortcuts and aliases
shortcutgen
aliasgen