changeset 107:06637c6cdc90

Merge
author Edho Prima Arief <edho@myconan.net>
date Sat, 17 Sep 2011 01:11:11 +0700
parents 4e44a9c03a3a (diff) ed3d1b8e6f45 (current diff)
children 9a9ad273e15c fd8dbd4bb758
files
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bash	Sun Sep 11 03:15:17 2011 +0700
+++ b/bash	Sat Sep 17 01:11:11 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 03:15:17 2011 +0700
+++ b/inputrc	Sat Sep 17 01:11:11 2011 +0700
@@ -29,5 +29,5 @@
 "\eOB": history-search-forward
 
 #Misc
-"\C-w": backward-kill-word
+"\C-w": unix-filename-rubout