This commit is contained in:
pvincent
2026-08-17 21:40:39 +04:00
parent a50b980efc
commit 29b3ff8b45
5 changed files with 33 additions and 25 deletions
+4 -5
View File
@@ -202,11 +202,10 @@ if ! shopt -oq posix; then
fi
fi
# prevent CTRL+S to freeze in vim, CTRL+Q to unfreeze!
stty -ixon
# release CTRL+U to readline processing => undo
stty kill undef
if [[ -t 0 ]]; then
stty -ixon # prevent CTRL+S to freeze in vim, CTRL+Q to unfreeze!
stty kill undef # release CTRL+U to readline processing => undo
fi
PROMPT_COMMAND='__prompt_command' # Func to gen PS1 after CMDs