1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-05 21:03:24 -07:00

disable expansion of ! characters

This commit is contained in:
Connor Olding 2024-02-23 22:29:55 -08:00
parent f06ed0b0bb
commit 87f2774fae
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ shopt -s histappend
shopt -s checkwinsize
#shopt -s physical # chaselinks (doesn't exist?)
set -o hashall # enable hash command
set +o histexpand # disable expansion of ! characters
[ "$TERM" != rxvt-unicode-256color ] || export TERM=xterm-256color

View File

@ -33,6 +33,7 @@ setopt no_match # error on bad tab-complete
setopt path_dirs # Perform path search even on command names with slashes.
setopt rc_quotes # 'it''s okay' becomes "it's okay"
unsetopt flow_control # Disable start/stop characters in shell editor.
unsetopt bang_hist # this does nothing but cause me grief (disables !s)
function {
if [ "$SHLVL" -le 1 ] \