bashrc/zshrc: undefine stop control character with stty
This commit is contained in:
parent
37a8a8f5e9
commit
ef1142e992
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Set up bash for interactive use (options, prompt, aliases, etc.)
|
# 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
|
shopt -s cdspell checkwinsize globstar histappend nocaseglob
|
||||||
set -o noclobber # Prevent overwriting files with output redirection.
|
set -o noclobber # Prevent overwriting files with output redirection.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
# Set up zsh for interactive use (options, prompt, aliases, etc.)
|
# 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"
|
[ -f "${XDG_CONFIG_HOME}/shell/aliases.sh" ] && source "${XDG_CONFIG_HOME}/shell/aliases.sh"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue