Re: Strange *nix people.
- From: Bill Marcum <bill@xxxxxxxxxxxx>
- Date: Tue, 21 Dec 2010 11:35:05 -0500
On 2010-12-21, goarilla <kevin.paulus@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Use single quotes or backslash. For example PS1='$? $'
Could you please explain how you give the exit status on the prompt i've
been wanting this for ages but every shot i've taken at it always fails
eg: just echoing $? doesn't work, since you'll get the exit status from
when the shell was started.
It would be greatly appreciated !
PS: is the different background accomplished with the '\[\X;YZ\]' stuff ?
Yes. I don't have time to explain right now but someone probably will.
--
A bureaucracy's success is determined by its rebels.
.
- Follow-Ups:
- Re: Strange *nix people.
- From: Chris Davies
- Re: Strange *nix people.
- References:
- Re: Strange *nix people.
- From: goarilla
- Re: Strange *nix people.
- Prev by Date: Re: Strange *nix people.
- Next by Date: Re: Strange *nix people.
- Previous by thread: Re: Strange *nix people.
- Next by thread: Re: Strange *nix people.
- Index(es):
Relevant Pages
|