.bashrc: Add common commands to HISTIGNORE
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
e2e131a370
commit
fcf1e381c2
2
.bashrc
2
.bashrc
@ -18,6 +18,8 @@ TITLEBAR='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
|
||||
PROMPT_COMMAND="$TITLEBAR"
|
||||
# don't add commands starting with space to the history
|
||||
HISTCONTROL=ignorespace
|
||||
# ignore common commands in bash history
|
||||
HISTIGNORE='ls:bg:fg:history'
|
||||
|
||||
# If a private bin directory exists, add it to PATH
|
||||
[[ -d ~/bin ]] && PATH="$PATH:~/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user