Slackware Line Numbering

Mighty Industries alfalfa at fcgnetworks.net
Wed Sep 4 03:57:01 EDT 2002


Jefferson Kirkland said:
> Thanks a bunch for the responses.  I had played with the PS1 prompt to
> set  it to something different, but will definately try again.  Thanks
> again!

I'm running Slackware8.0 and have never had that happen.  Just in case you
nolonger have the default prompt part of /etc/profile, here it is:

-----< begin >-----

# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
 PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
 PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
 PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
 PS1='$ '
else
 PS1='\u@\h:\w\$ '
fi
PS2='> '
ignoreeof=10
export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof

------< end >------


-- 
=ksandre=
"Gold is the corpse of value."
_CRYPTONOMICON_ by Neal Stephenson







More information about the gnhlug-discuss mailing list