[ADD][SHELL] Deactivate terminal freezing

This commit is contained in:
Bruno BELANYI 2020-08-19 15:49:17 +02:00
parent 97122f4935
commit 0178fe9c44

View file

@ -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