-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
79 lines (65 loc) · 1.38 KB
/
.exports
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#! /bin/sh
#
# EDITOR
#
if hash nvim 2> /dev/null; then
export EDITOR=nvim
elif hash vim 2> /dev/null; then
export EDITOR=vim
fi
#
# PAGER
#
# https://github.com/rkitover/vimpager
#
if hash vimpager 2> /dev/null; then
export PAGER=vimpager
fi
#
# less
#
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
#
# MAVEN_OPTS
#
export MAVEN_OPTS="-Xmx1g"
#
# JAVA_HOME
#
readonly java_home_executable='/usr/libexec/java_home'
if test -x ${java_home_executable} 2> /dev/null; then
export JAVA_HOME=`${java_home_executable} -v 1.8`
fi
#
# GOPATH
#
export GOPATH=$HOME/.local/share/go
export GOBIN=$GOPATH/bin
#
# HOMEBREW_PREFIX
#
if hash brew 2> /dev/null; then
export HOMEBREW_BIN=`brew --prefix`/bin
else
export HOMEBREW_BIN=
fi
if test -s "/opt/homebrew/bin/brew"; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
#
# XDG_BIN_HOME
#
export XDG_BIN_HOME=$HOME/.local/bin
export CARGO_BIN="$HOME/.cargo/bin"
export GOLAND_BIN="/opt/goland/bin"
#
# PATH
#
export PATH=$XDG_BIN_HOME:$PATH:$HOMEBREW_BIN:$GOBIN:$CARGO_BIN:$GOLAND_BIN