commit 3016a5f399fa90f56480e6c6074070f2a69a82c9 parent f72958c4172d9a0f6a08ff35d6c5b31bfe255cb4 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Mon, 8 Feb 2021 19:43:11 +0100 Note down how to disable confusing C-s misbehavior in terminal Diffstat:
| M | guides/setups/dotfiles.md | | | 14 | +++++++++++++- |
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/guides/setups/dotfiles.md b/guides/setups/dotfiles.md @@ -2,13 +2,25 @@ Some day all of these will live in my dotfiles repository. Until then… -# `~/.bash_aliases` +# Bash + +## `~/.bash_aliases` ``` bash # Make Bash expand aliases before running sudo. alias sudo='sudo ' ``` +## `.bashrc` + +``` bash +# Unset the TTY's "stop" char, so that readline receives C-s. +if tty -s +then + stty stop '' +fi +``` + # `.gitconfig` ``` ini