.bashrc
changeset 686 8c21afb3d2b6
parent 685 c2b825bf0353
child 703 fc6805490326
--- a/.bashrc	Tue Jan 14 15:12:29 2014 +0200
+++ b/.bashrc	Tue Jan 14 15:13:46 2014 +0200
@@ -142,8 +142,10 @@
 
 set -o emacs
 
-bind '"\e/": dabbrev-expand'
-bind '"\ee": edit-and-execute-command'
+if [[ $- == *i* ]]; then
+  bind '"\e/": dabbrev-expand'
+  bind '"\ee": edit-and-execute-command'
+fi
 
 ################################################################
 # Completion.