projects
/
cmccabe-etc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
04be510
)
.bashrc: use better bash history options
author
Colin Patrick McCabe
<cmccabe@alumni.cmu.edu>
Mon, 5 Dec 2011 23:30:00 +0000 (15:30 -0800)
committer
Colin Patrick McCabe
<cmccabe@nvidia.com>
Mon, 5 Dec 2011 23:30:00 +0000 (15:30 -0800)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
bb5e384
..
6a2f2d9
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-41,3
+41,9
@@
esac
# Perturb malloc so that we spot bugs quicker!
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
+
+# Do not add lines that begin with a space to the history
+export HISTIGNORE="[ ]*"
+
+# Append history list of current session to HISTFILE
+shopt -s histappend