-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot.bash_profile
More file actions
65 lines (55 loc) · 1.46 KB
/
dot.bash_profile
File metadata and controls
65 lines (55 loc) · 1.46 KB
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
# for lang
export LANG=ja_JP.UTF-8
# PATH
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/usr/X11/bin
export PATH
# ANSI Color
export LSCOLORS=gxfxcxdxbxegedabagacad
#
# for export
#
export PS1='[\u@\h \W]\$ '
# If not running interactively, don't do anything
test -z "$PS1" && return
export BLOCKSIZE=k
#
# editor
#
# PSQL_EDITOR
# if test -x /usr/local/bin/emacs; then
# EDITOR=/usr/local/bin/emacs; export EDITOR
# else
# EDITOR=/usr/bin/emacs; export EDITOR
# fi
# export SVN_EDITOR="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
# export GIT_EDITOR="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
# LV
if test -x /usr/local/bin/lv; then
PAGER=/usr/local/bin/lv; export PAGER
LV="-E'$EDITOR +%d'"; export LV
else
PAGER=/usr/bin/less; export PAGER
fi
export LESSCHARSET=utf-8
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -f ~/.bash_local ]; then
source ~/.bash_local
fi
######################################
# rbenv
# https://github.com/sstephenson/rbenv
######################################
export RBENV_ROOT=/usr/local/var/rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
#export PATH="$HOME/.rbenv/bin:$PATH"
#eval "$(rbenv init -)"
#source ~/.rbenv/completions/rbenv.bash
######################################
# nodebrew
######################################
if [ -f /usr/local/bin/nodebrew ]; then
export PATH=$HOME/.nodebrew/current/bin:$PATH
export NODEBREW_ROOT=/usr/local/var/nodebrew
fi