pld-ftp-admin: shell/bash_profile - adjust screen title on login

glen glen at pld-linux.org
Sun Jan 6 02:47:40 CET 2008


Author: glen                         Date: Sun Jan  6 01:47:39 2008 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- adjust screen title on login

---- Files affected:
pld-ftp-admin/shell:
   bash_profile (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: pld-ftp-admin/shell/bash_profile
diff -u pld-ftp-admin/shell/bash_profile:1.2 pld-ftp-admin/shell/bash_profile:1.3
--- pld-ftp-admin/shell/bash_profile:1.2	Tue Sep 11 22:27:26 2007
+++ pld-ftp-admin/shell/bash_profile	Sun Jan  6 02:47:34 2008
@@ -7,4 +7,12 @@
 	export LC_ALL=C
 	export LANG=en_US
 	export TZ=EET
+	case $(id -un)
+	pldth)
+		echo -ne "\033kth at ftp\033\\"
+	;;
+	pldac)
+		echo -ne "\033kac at ftp\033\\"
+		;;
+	esac
 fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/shell/bash_profile?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list