r83 - in trunk: etc root root/.fluxbox

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Apr 15 18:54:32 PDT 2005


Author: jhuntwork
Date: 2005-04-15 19:54:32 -0600 (Fri, 15 Apr 2005)
New Revision: 83

Modified:
   trunk/etc/profile
   trunk/root/.Xresources
   trunk/root/.fluxbox/menu
Log:
Tweaked some xterm settings and the bash profile

Modified: trunk/etc/profile
===================================================================
--- trunk/etc/profile	2005-04-16 01:27:19 UTC (rev 82)
+++ trunk/etc/profile	2005-04-16 01:54:32 UTC (rev 83)
@@ -1,9 +1,29 @@
 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
-PS1='\h:\u \[\033[00;32m\]\w\[\033[00m\] \$ '
+
 INPUTRC=/etc/inputrc
+
 XML_CATALOG_FILES="/usr/share/docbook/xsl-stylesheets-1.67.2/catalog.xml /etc/xml/catalog"
+
 PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
+
 WWW_HOME="/usr/share/LFS-BOOK-testing-HTML/index.html"
+
 NNTPSERVER=news.linuxfromscratch.org
+
+# Colors for PS1
+RED="\[\033[0;31m\]"
+GREEN="\[\033[0;32m\]"
+ORANGE="\[\033[0;33m\]"
+BRWHITE="\[\033[0;38m\]"
+WHITE="\[\033[00m\]"
+
+# Prompt
+if [ `whoami` == "root" ] ; then
+	PS1="${BRWHITE}\h:$RED\u | $BRWHITE\@ \d $RED| $GREEN\w$BRWHITE\n$WHITE\\$ "
+else
+	PS1="$BRWHITE\h:$GREEN\u | $ORANGE\@ $BRWHITE\d $GREEN| \w\n$BRWHITE\\$ $WHITE"
+fi
+
 export PS1 PATH INPUTRC PKG_CONFIG_PATH XML_CATALOG_FILES WWW_HOME NNTPSERVER
+
 source /etc/bashrc

Modified: trunk/root/.Xresources
===================================================================
--- trunk/root/.Xresources	2005-04-16 01:27:19 UTC (rev 82)
+++ trunk/root/.Xresources	2005-04-16 01:54:32 UTC (rev 83)
@@ -1,4 +1,3 @@
-xterm*font:		fixed
 xterm*scrollBar:	true
 xterm*scrollKey:	true
 xterm*rightScrollBar:	true

Modified: trunk/root/.fluxbox/menu
===================================================================
--- trunk/root/.fluxbox/menu	2005-04-16 01:27:19 UTC (rev 82)
+++ trunk/root/.fluxbox/menu	2005-04-16 01:54:32 UTC (rev 83)
@@ -16,7 +16,7 @@
 #     session.menuFile: /home/you/.fluxbox/my-menu
 [begin] (LFS LiveCD)
 [submenu] (Terminals)
-      [exec] (xterm) {xterm -T "LFS LiveCD" -e /bin/bash --login}
+      [exec] (xterm) {xterm -lc -fa FreeMono -fs 10 -T "LFS LiveCD" -e /bin/bash --login}
       [exec] (Eterm) {Eterm}
 [end]
 [submenu] (Net)




More information about the livecd mailing list