-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc.linux
51 lines (39 loc) · 1.1 KB
/
.zshrc.linux
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
# Terminal Colorの設定
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
alias ls='ls -alh --color'
if [ -f "/usr/local/bin/vim" ] ; then
alias vi='/usr/local/bin/vim'
alias vim='/usr/local/bin/vim'
fi
export PATH
# man path
MANPATH=/usr/local/man:$MANPATH
export MANPATH
INFOPATH=/usr/local/info:$INFOPATH
export INFOPATH
# Java
export JAVA_HOME=/usr/java/default
export PATH=$JAVA_HOME/bin:$PATH
# Maven2
export MAVEN_HOME=/usr/local/apache-maven-2.2.1
export PATH=$MAVEN_HOME/bin:$PATH
export MAVEN_OPTS=-Xmx1024M
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
if which rbenv > /dev/null 2>&1 ; then eval "$(rbenv init -)"; fi
export PATH=$PATH:$HOME/.gem/ruby/1.8/bin
export PATH=/opt/firefox:$PATH
export PATH=$PATH:$HOME/.cabal/bin
# export RUBYGEMS_GEMDEPS=-
# node
if which npm > /dev/null 2>&1 ; then
export NODE_PATH=$NODE_PATH:$(npm prefix -g 2>/dev/null)/lib/node_modules
export PATH=$PATH:$(npm bin -g 2>/dev/null)
fi
# Go Lang
if which go > /dev/null 2>&1 ; then
export CGO_ENABLED=1
export GOPATH=$HOME/dev/go
export PATH=$PATH:$(go env GOROOT)/bin:$GOPATH/bin
fi