comparison rc/bash @ 303:e4208bf9c585

Merge
author Edho Arief <edho@myconan.net>
date Thu, 16 Feb 2012 17:48:04 +0700
parents 7251d4f5e5c9
children 73981a7539dd 81bfcb3015bd
comparison
equal deleted inserted replaced
295:ce17ed77a7fa 303:e4208bf9c585
19 shopt -s histappend 19 shopt -s histappend
20 PROMPT_COMMAND="history -a" 20 PROMPT_COMMAND="history -a"
21 export HISTFILESIZE=10000 21 export HISTFILESIZE=10000
22 export HISTCONTROL=ignoredups 22 export HISTCONTROL=ignoredups
23 23
24 export PAGER="less -Rins" 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 29
30 alias less="less -Rins"
31 alias ls="ls -F" 30 alias ls="ls -F"
32 alias rm="rm -i" 31 alias rm="rm -i"
33 alias rd="rdesktop -g 1280x600 -K -a 15 -x m -z -P -r sound:off -r clipboard:CLIPBOARD -5" 32 alias rd="rdesktop -g 1280x600 -K -a 15 -x m -z -P -r sound:off -r clipboard:CLIPBOARD -5"
34 33
35 _has_gnu_ls= 34 _has_gnu_ls=
165 if command -v vim > /dev/null 2>&1; then 164 if command -v vim > /dev/null 2>&1; then
166 alias vi=vim 165 alias vi=vim
167 export EDITOR=vim 166 export EDITOR=vim
168 fi 167 fi
169 168
169 if command -v less > /dev/null 2>&1; then
170 alias less="less -Rins"
171 export PAGER="less -Rins"
172 fi
173
170 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I" 174 rm -If "/tmp/.nonexistent.$(date '+%Y%m%d%H%M%S')" 2> /dev/null && alias rm="rm -I"
171 175
172 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" 176 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"
173 177