1
0
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:
Roman Perepelitsa 2019-12-28 00:22:15 +01:00 committed by Kaleb Elwert
parent e86200e7aa
commit 7c94154dda

View File

@ -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