Browse Source

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

master
Roman Perepelitsa 5 years ago committed by Kaleb Elwert
parent
commit
98c2e6ef4f
  1. 2
      modules/environment/init.zsh

2
modules/environment/init.zsh

@ -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. unsetopt MAIL_WARNING # Don't print a warning message if a mail file has been accessed.
# Allow mapping Ctrl+S and Ctrl+Q shortcuts # Allow mapping Ctrl+S and Ctrl+Q shortcuts
(( $+commands[stty] )) && stty -ixon [[ -n ${TTY:-} && $+commands[stty] == 1 ]] && stty -ixon <$TTY >$TTY
# #
# Jobs # Jobs

Loading…
Cancel
Save