Subject: Re: Root .profile
To: Brian D Chase <bdc@world.std.com>
From: Gandhi woulda smacked you <greywolf@starwolf.com>
List: current-users
Date: 04/11/1999 23:02:57
On Sun, 11 Apr 1999, Brian D Chase wrote:

# On Sun, 11 Apr 1999, Curt Sampson wrote:
# How ideal. :-)  I don't really mind the inclusion of the hostname in the
# prompt though.  It can often be helpful.  
# 
# # Example /etc/profile
# #
...some deleted...
# 
# if [ -O / ]; then
# 	PS1="${HOST:=`/bin/hostname -s`}# "
# else
# 	PS1="${HOST:=`/bin/hostname -s`}$ "
# fi

Why not:

PS1="${HOST:=`/bin/hostname -s`}${PS1} "



				--*greywolf;
--
Theorem #1:  There are several ways to create a quantum black hole.
    - Butter a piece of bread and tie it, buttered side up, to a cat's back.
    - Launder any number of matched pairs of socks.
    - Divide by zero.  Someone will disappear.  It might be your lucky day.