SOURCES: bashrc - reverted term and ps1 handling (it's somehow bet...

arekm arekm at pld-linux.org
Mon Sep 19 14:47:58 CEST 2005


Author: arekm                        Date: Mon Sep 19 12:47:57 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reverted term and ps1 handling (it's somehow better than ac-branch says qboosh)

---- Files affected:
SOURCES:
   bashrc (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SOURCES/bashrc
diff -u SOURCES/bashrc:1.25 SOURCES/bashrc:1.26
--- SOURCES/bashrc:1.25	Mon Sep 19 13:44:39 2005
+++ SOURCES/bashrc	Mon Sep 19 14:47:52 2005
@@ -5,13 +5,15 @@
 
 # If this is an xterm set the title to user at host:dir
 case $TERM in
-	gnome|xterm*|rxvt*)
+	gnome|nxterm|xterm*|rxvt*)
 		PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
 		;;
 	*)
 		;;
 esac
+
 PS1="[\u@\h \W]\\$ "
+export PS1
 
 alias which="type -p"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bashrc?r1=1.25&r2=1.26&f=u




More information about the pld-cvs-commit mailing list