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 Stefan Rajkovic committed Apr 26, 2021
1 parent 1fbd76b commit 3a77656
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 3a77656

Please sign in to comment.