plugged
07-05-2003, 07:26 PM
just wondering what bash prompts you have set.
i use this:
[user@host ~]:
i.e. [plugged@vertex ~]:
and am very used to it.
I'm just wondering if anyone uses other bash prompts than the defaults,
I have a few friends who use wacky prompts that span 2 lines or more.
cperciva
07-05-2003, 07:29 PM
I don't use bash, but my csh prompt is "# ".
clockwork
07-05-2003, 08:07 PM
My workstation (being rebuilt now) was a two line prompt. One line had a timestamp (top) and the other just a simple user@host prompt.
wKkaY
07-06-2003, 01:53 PM
i use
CYAN="\033[1;36m"
WHITE="\033[1;37m"
GRAY="\033[0;37m"
PS1="\[\033]0;\u@\h:\w\007\]${WHITE}(\@ ${CYAN}\u${WHITE}@\h \w)\n$ ${GRAY}"
comes out as
(01:52am doubleukay@ds-11 ~/public_html)
$
with colors (whee!) and the working directory is shown in securecrt/putty's titlebar ..
NyteOwl
07-06-2003, 03:18 PM
[user@hotname date-time currrent directory]
>
BTW the '>' is tcsh :)
PS1='<\u@\h> [\w]\n\$ '; export PS1
results in:
<srh@prime> [~]
$
With commands looking like:
<srh@prime> [~]
$ ls -la /var
=)