Mercurial > ec-dotfiles
diff bash @ 106:4e44a9c03a3a
Saner ctrl-w for bash
author | Edho Prima Arief <edho@myconan.net> |
---|---|
date | Fri, 09 Sep 2011 10:51:52 +0700 |
parents | 0e8018fb4203 |
children | c3e641108696 fd8dbd4bb758 |
line wrap: on
line diff
--- a/bash Wed Sep 07 10:29:36 2011 +0700 +++ b/bash Fri Sep 09 10:51:52 2011 +0700 @@ -5,6 +5,10 @@ _org_path="${PATH}" export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" +#ensures slash doesn't get killed when doing ^W +stty werase undef +bind '\C-w':unix-filename-rubout + #PS1='[\u@\h \W]\$ ' PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '