environment: apply `stty -ixon` only to tty (#1771)

main
Roman Perepelitsa 5 years ago committed by Kaleb Elwert
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…
Cancel
Save