From 96a508ea2da90dae94b04fe8cff246a8266cd6dc Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 14 Jan 2022 22:50:39 -0300 Subject: [PATCH] bash: Poder usar C-s --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 27dec15..1b4c3e9 100644 --- a/.bashrc +++ b/.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 PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command +stty -ixon # Make bash receive C-s for history search + # ------------------------------------------------------------------------------ # Aliases alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'