diff options
| Commit | 96ea9235bf3a9938ae5051704bc8a70b1eabd0ee (patch) | |
|---|---|---|
| Author | 2025-12-31 10:50:49 +0200 | |
| Committer | 2025-12-31 10:50:49 +0200 | |
| Files | bfaccf6ab9556b333fb7fa5bc9d5d1203086ec4b | |
| .files-96ea9235bf3a9938ae5051704bc8a70b1eabd0ee.tar .files-96ea9235bf3a9938ae5051704bc8a70b1eabd0ee.tar.gz .files-96ea9235bf3a9938ae5051704bc8a70b1eabd0ee.zip | ||
| Parent | 29896f6c865d3d5f07ccb03b009b0c99b83e2d06 (diff) | |
feat(.bashrc): Always reset stty on a new input prompt
Sometimes, a command will end abruptly and will leave the terminal in a
weird state, commonly making your inputs hidden. This makes sure no such
effect ever happens.
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | .bashrc | 2 |
@@ -216,7 +216,7 @@ export PROMPT_COMMAND="shell_var_fix;" trap "SECONDS=0;___timer=''" SIGUSR2 export PS_COMM="ps_space; ps_git; ps_exit; ps_duration; ps_dir; ps_nl" - export PS1="$(left_cap)\$(ps_user)$(right_cap) \$(ps_precursor) " + export PS1="$(left_cap)\$(ps_user)$(right_cap) \$(ps_precursor)\$(stty sane) " # Show time below command: # export PS0=" $(left_cap 'o' "$PS_TRIANGLE_BOT") \A$(right_cap)\n\$(kill -s SIGUSR2 $$)" export PS0="\$(kill -s SIGUSR2 $$)" |
