changeset 108:9a9ad273e15c

Merge.
author Edho Prima Arief <edho@myconan.net>
date Sun, 11 Sep 2011 07:42:13 +0700
parents b5bda3ecfbd9 (current diff) 06637c6cdc90 (diff)
children c3e641108696
files
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bash	Sun Sep 11 07:32:02 2011 +0700
+++ b/bash	Sun Sep 11 07:42:13 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\]]\$ '
 
--- a/inputrc	Sun Sep 11 07:32:02 2011 +0700
+++ b/inputrc	Sun Sep 11 07:42:13 2011 +0700
@@ -29,5 +29,5 @@
 "\eOB": history-search-forward
 
 #Misc
-"\C-w": backward-kill-word
+"\C-w": unix-filename-rubout