From: Simon Ruderich Date: Tue, 5 Nov 2013 20:33:44 +0000 (+0100) Subject: shell/rc: Disable flow control. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c331a91c28f2f7698f5fce51443ca9b6d77a0717;p=config%2Fdotfiles.git shell/rc: Disable flow control. --- diff --git a/shell/rc b/shell/rc index 175ed9a..793093a 100644 --- a/shell/rc +++ b/shell/rc @@ -23,3 +23,10 @@ if test "`id -u`" -eq 0; then else umask 077 fi + +# Disable flow control (^s ^q). I use GNU Screen/Tmux which also supports this +# in a similar way (entering copy mode) and enabling flow control by accident +# is annoying. +if test -t 0; then + stty -ixon -ixoff +fi