forked from DoomHammer/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.shell-env
36 lines (32 loc) · 781 Bytes
/
.shell-env
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
##
## Editors
##
export EDITOR=vi
export GIT_EDITOR=$EDITOR
export USE_EDITOR=$EDITOR
export VISUAL=$EDITOR
export PAGER=less
##
## Pager
##
export PAGER=less
# TODO: checkout http://superuser.com/questions/124846/mercurial-colour-output-piped-to-less/403748#403748
export LESS='-iFMRSX -x4'
##
## Make
##
export MAKEFLAGS="-j $(nproc)"
##
## Paths
##
BREW_PREFIX=/home/linuxbrew/.linuxbrew
export GOPATH=$HOME/.go:$HOME
export XDG_DATA_DIRS=$BREW_PREFIX/share:$XDG_DATA_DIRS
export PATH="$BREW_PREFIX/bin:$BREW_PREFIX/sbin:${GOPATH//://bin:}/bin:$PATH"
##
## Chruby support
##
if which brew >/dev/null 2>&1 && [[ `brew ls --versions chruby|wc -l` -gt 0 ]]; then
source $BREW_PREFIX/opt/chruby/share/chruby/chruby.sh
source $BREW_PREFIX/opt/chruby/share/chruby/auto.sh
fi