Skip to content

Commit

Permalink
environment: apply stty -ixon only to tty (sorin-ionescu#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv authored and dandrzejewski committed Aug 23, 2023
1 parent 013c05d commit 6dec239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/environment/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dec239

Please sign in to comment.