From e2d3e59fe6a7ad612e6c143dd386bf0d05c98c18 Mon Sep 17 00:00:00 2001 From: gobo72 Date: Sat, 1 Oct 2011 21:12:03 +0000 Subject: [PATCH] =?utf8?q?R=C3=A9gl=C3=A9=20probl=C3=A8me=20avec=20la=20to?= =?utf8?q?uche=20BASCKSPACE=20qui=20affichait=20^H=20lors=20d'un=20message?= =?utf8?q?=20de=20confirmation=20de=20Bash=20(ex:=20quand=20on=20efface=20?= =?utf8?q?un=20fichier).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stage1/create-config-files | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stage1/create-config-files b/stage1/create-config-files index 0c29a0b..8ea1c5b 100755 --- a/stage1/create-config-files +++ b/stage1/create-config-files @@ -101,7 +101,6 @@ alias df='df -h' alias du='du -h -s' # --show-control-chars is for seeing international characters in filenames alias ls='ls -h --color=auto --show-control-chars --time-style=long-iso' - eval $(dircolors --sh /etc/DIR_COLORS) alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' @@ -111,6 +110,12 @@ alias less='less -RFX' # Pour avoir un environnement similaire à ce qu'un login fournirait: alias su='su --login' +# Pour que la touche BACKSPACE fonctionne correctement lorsque Bash nous +# demande une confirmation (quand on veut effacer un fichier par exemple). +if tty --quiet ; then + stty erase '^H' +fi + # For some unknown reason bash refuses to inherit PS1 in some circumstances # that I can't figure out. Putting PS1 here ensures that it gets loaded every # time. -- 2.20.1