install2
This commit is contained in:
+4
-5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user