summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-11 18:55:57 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-02-11 18:55:57 -0500
commit00f833248cf759664f4ce205bea51416b6476213 (patch)
treebcd89662f1e990c8b01a966e54b2e6be1609bc86
parent44fc8859a78b66e90d2fcef4e02ddae29a52b000 (diff)
bash: turn of '!' history expansion
-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