From ef1142e992554ab4c7eac3e435ff302ce424ce0c Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 9 Aug 2021 00:03:16 +0200 Subject: [PATCH] bashrc/zshrc: undefine stop control character with stty --- files/bashrc | 2 +- files/zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/bashrc b/files/bashrc index f2a6a89..d7bb5b3 100644 --- a/files/bashrc +++ b/files/bashrc @@ -1,7 +1,7 @@ #!/bin/bash # Set up bash for interactive use (options, prompt, aliases, etc.) -stty -ixon # disable ctrl-s and ctrl-q +stty stop undef # Prevent ctrl-s from freezing the terminal. shopt -s cdspell checkwinsize globstar histappend nocaseglob set -o noclobber # Prevent overwriting files with output redirection. diff --git a/files/zshrc b/files/zshrc index f4495a8..60a2b0a 100644 --- a/files/zshrc +++ b/files/zshrc @@ -1,7 +1,7 @@ #!/bin/zsh # Set up zsh for interactive use (options, prompt, aliases, etc.) -stty -ixon # disable ctrl-s and ctrl-q +stty stop undef # Prevent ctrl-s from freezing the terminal. [ -f "${XDG_CONFIG_HOME}/shell/aliases.sh" ] && source "${XDG_CONFIG_HOME}/shell/aliases.sh"