Don't put duplicate lines in the bash history.
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 10 Sep 2011 16:11:30 +0000 (16:11 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 10 Sep 2011 16:11:30 +0000 (16:11 +0000)
stage1/create-config-files

index a57b0d2..cccefe7 100755 (executable)
@@ -38,8 +38,12 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/tools/bin:/tools/sbin
 USER=`id -un`
 LOGNAME=$USER
 MAIL="/var/mail/$USER"
-HISTFILESIZE=1000
+
+# Don't put duplicate lines in the history.
+HISTCONTROL=ignoredups:ignorespace
+HISTFILESIZE=2000
 HISTSIZE=1000
+
 HOSTNAME=`hostname`
 EDITOR=_DEFAULT_EDITOR_
 CFLAGS="_DEFAULT_CFLAGS_"