comparison bash @ 110:25edf1880db3

The correct way to erase word is alt-bs.
author Edho Prima Arief <edho@myconan.net>
date Sun, 16 Oct 2011 19:56:58 +0700
parents c3e641108696
children abc5c2edb967
comparison
equal deleted inserted replaced
109:c3e641108696 110:25edf1880db3
2 2
3 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" 3 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
4 4
5 _org_path="${PATH}" 5 _org_path="${PATH}"
6 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 6 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
7
8 #ensures slash doesn't get killed when doing ^W
9 stty werase undef
10 bind '\C-w':unix-filename-rubout
11 7
12 PS1='[\u@\h \W]\$ ' 8 PS1='[\u@\h \W]\$ '
13 #PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' 9 #PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '
14 10
15 export PAGER="less -Rins" 11 export PAGER="less -Rins"