Mercurial > ec-dotfiles
comparison rc/bash @ 311:dd2ddddf00d5
Merge.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Wed, 07 Mar 2012 14:17:51 +0700 |
parents | 108e05eb9b5c 592605e4d3bb |
children | 4f6a3bcbdec0 |
comparison
equal
deleted
inserted
replaced
283:108e05eb9b5c | 311:dd2ddddf00d5 |
---|---|
24 export PAGER="more" | 24 export PAGER="more" |
25 export EDITOR="vi" | 25 export EDITOR="vi" |
26 export LANG="en_US.UTF-8" | 26 export LANG="en_US.UTF-8" |
27 export CLICOLOR= | 27 export CLICOLOR= |
28 export LSCOLORS=ExGxFxdxCxegedabagExEx | 28 export LSCOLORS=ExGxFxdxCxegedabagExEx |
29 export LS_COLORS= | |
30 export BLOCKSIZE=1K | |
31 export BLOCK_SIZE=si | |
29 | 32 |
30 alias ls="ls -F" | 33 alias ls="ls -F" |
31 alias rm="rm -i" | 34 alias rm="rm -i" |
32 alias rd="rdesktop -g 1280x600 -K -a 16 -z -P -r sound:off -r clipboard:CLIPBOARD -5" | 35 alias rd="rdesktop -g 1280x600 -K -a 15 -x m -z -P -r sound:off -r clipboard:CLIPBOARD -5" |
33 | 36 |
34 _has_gnu_ls= | 37 _has_gnu_ls= |
35 _has_gnu_grep= | 38 _has_gnu_grep= |
36 _ls="ls" | 39 _ls="ls" |
37 _grep="grep" | 40 _grep="grep" |
120 | 123 |
121 # Custom application I usually install and safe to prioritize | 124 # Custom application I usually install and safe to prioritize |
122 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do | 125 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do |
123 [ -d "${i}" ] && PATH="${i}:${PATH}" | 126 [ -d "${i}" ] && PATH="${i}:${PATH}" |
124 done | 127 done |
128 # New(?) rubygems bin PATH | |
129 for i in {"${HOME}/app","/opt"}/ruby19/lib/ruby/gems/1.9.1/bin; do | |
130 [ -d "${i}" ] && PATH="${i}:${PATH}" | |
131 done | |
125 | 132 |
126 # MySQL in common locations highest priority since new = better. Also no compatibility problem. | 133 # MySQL in common locations highest priority since new = better. Also no compatibility problem. |
127 # Cluster is superset of Enterprise/GPL so it gets highest priority. | 134 # Cluster is superset of Enterprise/GPL so it gets highest priority. |
128 # And use only one. | 135 # And use only one. |
129 for mydir in {"${HOME}",/app{,s},/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do | 136 for mydir in {"${HOME}",/app{,s},/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do |
172 fi | 179 fi |
173 | 180 |
174 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I" | 181 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I" |
175 | 182 |
176 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" | 183 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" |
177 |