zsh: make ctrl-q usable in the terminal
This commit is contained in:
parent
61cf8ad5fb
commit
aeee2648ca
1 changed files with 3 additions and 3 deletions
|
@ -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.)
|
# Set up zsh for interactive use (options, prompt, aliases, etc.)
|
||||||
source "$ZDOTDIR/aliases.zsh"
|
source "$ZDOTDIR/aliases.zsh"
|
||||||
source "$ZDOTDIR/completion.zsh"
|
source "$ZDOTDIR/completion.zsh"
|
||||||
|
@ -23,8 +26,5 @@ local_config="$HOME/.local/etc/zsh/zshrc"
|
||||||
[ -r "$local_config" ] && source "$local_config"
|
[ -r "$local_config" ] && source "$local_config"
|
||||||
unset local_config
|
unset local_config
|
||||||
|
|
||||||
# Prevent ctrl-s from freezing the terminal.
|
|
||||||
stty stop undef
|
|
||||||
|
|
||||||
# Allow comments in interactive use.
|
# Allow comments in interactive use.
|
||||||
setopt INTERACTIVE_COMMENTS
|
setopt INTERACTIVE_COMMENTS
|
||||||
|
|
Loading…
Add table
Reference in a new issue