-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
69 lines (48 loc) · 2.31 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
#!bash
# ------------------------------------------------------------------
# | Editor |
# ------------------------------------------------------------------
# vim as default
export EDITOR="nano"
# ------------------------------------------------------------------
# | Man Stuff |
# ------------------------------------------------------------------
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X"
# Highlight section titles in manual pages
export LESS_TERMCAP_md="$ORANGE"
# ------------------------------------------------------------------
# | Colours |
# ------------------------------------------------------------------
# here's LS_COLORS
# github.com/trapd00r/LS_COLORS
command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
eval "$(gdircolors -b ~/.dircolors)"
# ------------------------------------------------------------------
# | MISC |
# ------------------------------------------------------------------
# Prefer US English and use UTF-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US"
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# ------------------------------------------------------------------
# | Paths |
# ------------------------------------------------------------------
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$HOME/.npm-packages:$HOME/.node/lib/node_modules:$NODE_PATH"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
# Export node modules variable
export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$PATH"
# Add `~/sbin` to the `$PATH`
export PATH="$HOME/sbin:/usr/local/sbin:$PATH"
# Add `~/Android/platform-tools` to the `$PATH` for adb
export PATH="$HOME/Android/platform-tools:$PATH"
# Add `$NPM_PACKAGES` to the `$PATH` for npm globals
export PATH="$NPM_PACKAGES/bin:$PATH"
# Add RVM to PATH for scripting
export PATH="$HOME/.rvm/bin:$PATH"
# command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"