bash: Poder usar C-s

This commit is contained in:
Cat /dev/Nulo 2022-01-14 22:50:39 -03:00
parent 607fa9c573
commit 96a508ea2d

View file

@ -8,6 +8,8 @@ shopt -s histappend # Append to history file instead of overwriting
shopt -s cmdhist # Write a multi line command in a single line shopt -s cmdhist # Write a multi line command in a single line
PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command
stty -ixon # Make bash receive C-s for history search
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Aliases # Aliases
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME' alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'