From 0178fe9c447bdde174a1dcbae3a6e59b648488a8 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 19 Aug 2020 15:49:17 +0200 Subject: [PATCH] [ADD][SHELL] Deactivate terminal freezing --- shell/.profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/.profile b/shell/.profile index 7249e38..edb50d8 100644 --- a/shell/.profile +++ b/shell/.profile @@ -48,6 +48,9 @@ if { [ -n "$BASH_VERSION" ] && shopt -q login_shell; } || # Use this path for `remind` calendar export DOTREMINDERS="$HOME/.config/remind/reminders.rem" +elif { [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ] ; } && + [[ $- == *i* ]]; then # When interactive, deactivate terminal freezes + stty -ixon fi # Use keychain to handle ssh-agent, in interactive shell too