diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-08 19:43:11 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-08 19:43:11 +0100 |
| commit | 3016a5f399fa90f56480e6c6074070f2a69a82c9 (patch) | |
| tree | 18bbe6247fe2f1e3a636e984794b56a67837d56d /guides/setups/dotfiles.md | |
| parent | f72958c4172d9a0f6a08ff35d6c5b31bfe255cb4 (diff) | |
| download | memory-leaks-3016a5f399fa90f56480e6c6074070f2a69a82c9.tar.xz | |
Note down how to disable confusing C-s misbehavior in terminal
Diffstat (limited to 'guides/setups/dotfiles.md')
| -rw-r--r-- | guides/setups/dotfiles.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/guides/setups/dotfiles.md b/guides/setups/dotfiles.md index 66e2387..7a30bcb 100644 --- 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 |
