]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Use "printf" instead of "echo -ne"
authorAlexander Barton <alex@barton.de>
Wed, 26 Nov 2008 19:08:32 +0000 (20:08 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 26 Nov 2008 19:08:32 +0000 (20:08 +0100)
sys/bashrc

index 2b94220d91f9b43aa132b1b85e7253cbce0f10b1..14c23f8a14edb80283f7ddb60d1a98c17b37a40d 100644 (file)
@@ -1,24 +1,6 @@
 #
 # /etc/bash.bashrc: System-wide rc file for interactive bash(1) shells.
 #
-# 2008-08-07, alex@barton.de
-#  - ls: Detech BSD color support (-G).
-#  - Support /etc/chroot_name
-# 2008-07-09, alex@barton.de
-#  - Added support for /usr/lib/command-not-found.
-# 2008-06-06, alex@barton.de
-#  - Source /etc/[bash].bashrc.local as well, if readable.
-# 2007-04-05, alex@barton.de
-#  - Define shell functions sshtmp() and sshnew().
-# 2006-01-04, alex@barton.de
-#  - Only call dircolors(1) and lesspipe(1) if they are available.
-#  - Check wether ls(1) knows something about "--color".
-# 2005-12-29, alex@barton.de
-#  - Enabled bash completion
-# 2004-09-13, alex@Arthur.Ath.CX
-#  - Made script more generic ...
-# 2004-05-27, alex@Arthur.Ath.CX
-#
 
 [ -e /tmp/ConfigDebug.$USER ] && echo " >> /etc/bash.bashrc ..."
 
@@ -103,7 +85,7 @@ fi
 # If this is an xterm set the title to user@host:dir
 case $TERM in
 xterm*|rxvt|screen)
-       PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
+       PROMPT_COMMAND='printf "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
        ;;
 *)
        ;;