zsh: make ctrl-q usable in the terminal

This commit is contained in:
Fernando Schauenburg 2024-07-27 10:37:19 +02:00
parent 61cf8ad5fb
commit aeee2648ca

View file

@ -1,3 +1,6 @@
# Make ctrl-q and ctrl-s available to terminal applications.
stty start undef stop undef
# Set up zsh for interactive use (options, prompt, aliases, etc.)
source "$ZDOTDIR/aliases.zsh"
source "$ZDOTDIR/completion.zsh"
@ -23,8 +26,5 @@ local_config="$HOME/.local/etc/zsh/zshrc"
[ -r "$local_config" ] && source "$local_config"
unset local_config
# Prevent ctrl-s from freezing the terminal.
stty stop undef
# Allow comments in interactive use.
setopt INTERACTIVE_COMMENTS