aboutsummaryrefslogtreecommitdiff
path: root/profile
blob: f1d3c162da6eed2d31d36dd491e5655fb65e81f4 (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
BROWSER=firefox
EDITOR=vim
PAGER=less
VISUAL=vim

GCC_COLORS="locus=34"

: ${GOPATH:="$HOME/go"}
: ${XDG_RUNTIME_DIR:=/run/$USER}

for x in \
	"/usr/local/bin" \
	"/usr/local/lobase/bin" \
	"/usr/local/lobase/sbin" \
	"$HOME/.local/bin" \
	"$HOME/.cargo/bin" \
	"$HOME/.cabal/bin" \
	"$GOPATH/bin" \
	"$HOME/bin"; do
	[ -d "$x" ] || continue
	case "$PATH" in
	*"$x"*) ;;
	*) PATH="$x:$PATH" ;;
	esac
done

export BROWSER EDITOR PAGER PATH VISUAL GCC_COLORS XDG_RUNTIME_DIR GOPATH