summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/bash/rc.d/10_no_histexpand.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/bash/rc.d/10_no_histexpand.sh b/.config/bash/rc.d/10_no_histexpand.sh
new file mode 100644
index 0000000..985b03d
--- /dev/null
+++ b/.config/bash/rc.d/10_no_histexpand.sh
@@ -0,0 +1,4 @@
+#!/hint/bash
+
+# Turn off (csh-style) '!' history expansion
+set +o histexpand