Skip to content

Commit

Permalink
[bash] histcontrol: add ignore space
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Feb 22, 2016
1 parent dda48f3 commit ba202e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bashrc
Expand Up @@ -19,7 +19,7 @@ stty -ixon

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
export HISTCONTROL=ignoredups:erasedups
export HISTCONTROL=ignorespace:ignoredups:erasedups

# append to the history file, don't overwrite it
shopt -s histappend
Expand Down

0 comments on commit ba202e3

Please sign in to comment.