Re: Zoom.
John Crawley wrote:
> On 20/10/2020 04:57, peter@easthope.ca wrote:
> > From: Bob McGowan <ramjr0915@gmail.com>
> > Date: Sat, 17 Oct 2020 18:18:18 -0700
> > > As for exiting, so long as Zoom considers it a normal exit, it will
> > > give an exit status of zero and you will simply see the next prompt.
> > > That is as expected.
> >
> > At least one earlier reply had output in the launching terminal. Here
> > nothing in the terminal. No exit status. Nothing.
> Off the main topic, but the exit status of a command does not appear in the
> terminal. To see it, run:
> echo $?
I have this in my PS1 definition:
\$(if [[ \$? == 0 ]]; then echo \"+\"; else echo \"-\"; fi)\
Which has the effect of telling me the rough exit status of the
last command in my prompt.
-dsr-
Reply to:
- Follow-Ups:
- Re: Zoom.
- From: Nicolas George <george@nsup.org>
- Re: Zoom.
- From: Greg Wooledge <wooledg@eeg.ccf.org>