mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 10:28:00 +00:00
environment: apply stty -ixon
only to tty (#1771)
This commit is contained in:
parent
e86200e7aa
commit
7c94154dda
@ -39,7 +39,7 @@ setopt RC_QUOTES # Allow 'Henry''s Garage' instead of 'Henry'\''s Gar
|
||||
unsetopt MAIL_WARNING # Don't print a warning message if a mail file has been accessed.
|
||||
|
||||
# Allow mapping Ctrl+S and Ctrl+Q shortcuts
|
||||
(( $+commands[stty] )) && stty -ixon
|
||||
[[ -n ${TTY:-} && $+commands[stty] == 1 ]] && stty -ixon <$TTY >$TTY
|
||||
|
||||
#
|
||||
# Jobs
|
||||
|
Loading…
Reference in New Issue
Block a user