bash: Poder usar C-s
This commit is contained in:
parent
607fa9c573
commit
96a508ea2d
1 changed files with 2 additions and 0 deletions
2
.bashrc
2
.bashrc
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue