X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fcreate-config-files;h=b0ef07ce38b7b4c495ed1ea3fe7f99ea2cacb9f4;hb=9a7a51f905a83df3d66f0d9ca5e658a691a6e853;hp=a57b0d214b3b9a4cec14837836191bfad1b01828;hpb=1fbd6ee749f33de7643e0cd9fe4cbab3b510d98c;p=hvlinux.git diff --git a/stage1/create-config-files b/stage1/create-config-files index a57b0d2..b0ef07c 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -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_" @@ -101,6 +105,8 @@ eval $(dircolors --sh /etc/DIR_COLORS) alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' +alias less='less -RFX' + # Pour avoir un environnement similaire à ce qu'un login fournirait: alias su='su --login'