Move key binding as dabbrev-expand defined only in bash.
--- a/.bashrc Sun Aug 14 00:54:20 2011 +0300
+++ b/.bashrc Sun Aug 14 16:08:05 2011 +0300
@@ -140,6 +140,11 @@
fi
################################################################
+# Key binding.
+
+bind '"\e/": dabbrev-expand'
+
+################################################################
# Completion.
# user commands see only users
--- a/.inputrc Sun Aug 14 00:54:20 2011 +0300
+++ b/.inputrc Sun Aug 14 16:08:05 2011 +0300
@@ -66,7 +66,6 @@
"\C-@": set-mark
"\C-w": kill-region
"\M-w": copy-region-as-kill
-"\M-/" dabbrev-expand
# Ctrl+Left/Right to move by whole words.
"\e[1;5C": forward-word