summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-08 19:43:11 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-08 19:43:11 +0100
commit3016a5f399fa90f56480e6c6074070f2a69a82c9 (patch)
tree18bbe6247fe2f1e3a636e984794b56a67837d56d
parentf72958c4172d9a0f6a08ff35d6c5b31bfe255cb4 (diff)
downloadmemory-leaks-3016a5f399fa90f56480e6c6074070f2a69a82c9.tar.xz
Note down how to disable confusing C-s misbehavior in terminal
-rw-r--r--guides/setups/dotfiles.md14
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