mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
disable expansion of ! characters
This commit is contained in:
parent
f06ed0b0bb
commit
87f2774fae
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ shopt -s histappend
|
||||||
shopt -s checkwinsize
|
shopt -s checkwinsize
|
||||||
#shopt -s physical # chaselinks (doesn't exist?)
|
#shopt -s physical # chaselinks (doesn't exist?)
|
||||||
set -o hashall # enable hash command
|
set -o hashall # enable hash command
|
||||||
|
set +o histexpand # disable expansion of ! characters
|
||||||
|
|
||||||
[ "$TERM" != rxvt-unicode-256color ] || export TERM=xterm-256color
|
[ "$TERM" != rxvt-unicode-256color ] || export TERM=xterm-256color
|
||||||
|
|
||||||
|
|
|
@ -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 path_dirs # Perform path search even on command names with slashes.
|
||||||
setopt rc_quotes # 'it''s okay' becomes "it's okay"
|
setopt rc_quotes # 'it''s okay' becomes "it's okay"
|
||||||
unsetopt flow_control # Disable start/stop characters in shell editor.
|
unsetopt flow_control # Disable start/stop characters in shell editor.
|
||||||
|
unsetopt bang_hist # this does nothing but cause me grief (disables !s)
|
||||||
|
|
||||||
function {
|
function {
|
||||||
if [ "$SHLVL" -le 1 ] \
|
if [ "$SHLVL" -le 1 ] \
|
||||||
|
|
Loading…
Add table
Reference in a new issue