[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh and bash

From: Joe Zbiciak
Subject: Re: ssh and bash
Date: Tue, 24 Mar 2009 22:01:38 -0700 (PDT)

I believe he means something like this:

ssh () {
    if [ -z "$STY" ] ; then

You can also use || or && operators to make it more condensed, although it's 
less readable.

We sell Spatulas, and that's all!

----- Original Message ----
From: Chris Henderson <address@hidden>
To: Aaron Davies <address@hidden>
Cc: Screen Users <address@hidden>
Sent: Tuesday, March 24, 2009 11:45:07 PM
Subject: Re: ssh and bash

On Tue, Mar 24, 2009 at 9:27 PM, Aaron Davies <address@hidden> wrote:
> for 3, condition the creation of the function on your being in screen
> ([ "$STY" ] || ...)

Thanks. Could you please elaborate this a bit? I'm not quite sure what
I need to put in .bashrc.

screen-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]