summaryrefslogtreecommitdiff
path: root/.config/bash
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 19:03:50 -0500
commit0c3fdcfa05aeaa47430d0aede456f32c9d741301 (patch)
tree7b050566ad5fa45b43b412c2dee35c148762a69e /.config/bash
parentc47626e1dadc96162cf65af6c1f2485e37ce865b (diff)
bash: turn of '!' history expansion
Diffstat (limited to '.config/bash')
-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