]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell/rc: Disable flow control.
authorSimon Ruderich <simon@ruderich.org>
Tue, 5 Nov 2013 20:33:44 +0000 (21:33 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 5 Nov 2013 20:33:44 +0000 (21:33 +0100)
shell/rc

index 175ed9a78095ae425dc4dc8529303c06c4b1e38c..793093a29fd6d3e21a2f9ee18c8198b2408326f9 100644 (file)
--- 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