Skip to content

Commit

Permalink
Allow mapping Ctrl+S and Ctrl+Q shortcuts (sorin-ionescu#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz authored and linnovs committed Dec 24, 2020
1 parent 12b7e24 commit fa58393
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
[[ -r ${TTY:-} && -w ${TTY:-} && $+commands[stty] == 1 ]] && stty -ixon <$TTY >$TTY
(( $+commands[stty] )) && stty -ixon

#
# Jobs
Expand Down

0 comments on commit fa58393

Please sign in to comment.