Ignore leading spaces and duplicates in bash history
This commit is contained in:
parent
faf5a11d8f
commit
ac27099675
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ if test -x /usr/bin/tty; then
|
|||
fi
|
||||
|
||||
if [ "$BASH" ]; then
|
||||
HISTCONTROL=ignorespace:ignoredups
|
||||
shopt -s histappend
|
||||
bind '"\e[1;5C": forward-word'
|
||||
bind '"\e[1;5D": backward-word'
|
||||
|
|
Loading…
Reference in a new issue