diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-25 18:28:51 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-25 18:28:51 +0300 |
| commit | df11592d131811caf35742fcedae241c6af4deb3 (patch) | |
| tree | efa806bc7540fc14b956a98c1251da4875473ee8 | |
| parent | os.sh: support Linux Mint (diff) | |
| download | linux-home-df11592d131811caf35742fcedae241c6af4deb3.tar.gz linux-home-df11592d131811caf35742fcedae241c6af4deb3.zip | |
.bashrc: add stty hack
| -rw-r--r-- | %HOME%/.bashrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index abca721..5404fc9 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -69,3 +69,9 @@ if command -v vim > /dev/null 2>&1; then elif command -v nano > /dev/null 2>&1; then export EDITOR=nano fi + +# I've bumped into this on Linux Mint: Ctrl+S causes my terminal to freeze +# completely (Ctrl+Q is a temporary escape, stty is the cure). +os_is_cygwin \ + || command -v stty > /dev/null 2>&1 \ + && stty -ixon |
