Am Tue, Dec 07, 2021 at 10:26:11AM -0700 schrieb Grant Taylor:
> Some drive-by after-the-fact comments:
>
> On 12/6/21 4:03 PM, Frank Steinmetzger wrote:
> > [ "$MC_SID" ] && PS1_JOBS_COUNT="${PS1_JOBS_COUNT}MC "
> > [ "$RANGER_LEVEL" ] && PS1_JOBS_COUNT="${PS1_JOBS_COUNT}R "
>
> I've t
Some drive-by after-the-fact comments:
On 12/6/21 4:03 PM, Frank Steinmetzger wrote:
[ "$MC_SID" ] && PS1_JOBS_COUNT="${PS1_JOBS_COUNT}MC "
[ "$RANGER_LEVEL" ] && PS1_JOBS_COUNT="${PS1_JOBS_COUNT}R "
I've taken to using things like the following:
PS1_JOBS_COUNT="${PS1_JOBS_COUNT}
Am Fri, Dec 03, 2021 at 02:43:54PM + schrieb Peter Humphrey:
> > > > Hello list,
> > > >
> > > > Is there a way to set the colour of a bash prompt according to
> > > > whether the user has SSH'd in?
> > > > […]
> > > When you are connected via SSH, the environment variable
> > > SSH_CONNECTIO
On Friday, 3 December 2021 13:30:29 GMT Michael wrote:
> On Friday, 3 December 2021 12:08:05 GMT tastytea wrote:
> > On 2021-12-03 11:17+ Peter Humphrey
wrote:
> > > Hello list,
> > >
> > > Is there a way to set the colour of a bash prompt according to
> > > whether the user has SSH'd in?
>
On Friday, 3 December 2021 12:08:05 GMT tastytea wrote:
> On 2021-12-03 11:17+ Peter Humphrey wrote:
> > Hello list,
> >
> > Is there a way to set the colour of a bash prompt according to
> > whether the user has SSH'd in?
> >
> > This machine is a compile host for some others on the LAN, an
On 2021-12-03 11:17+ Peter Humphrey wrote:
> Hello list,
>
> Is there a way to set the colour of a bash prompt according to
> whether the user has SSH'd in?
>
> This machine is a compile host for some others on the LAN, and it
> would be helpful if it were more obvious that I'm connected to
Hello list,
Is there a way to set the colour of a bash prompt according to whether the
user has SSH'd in?
This machine is a compile host for some others on the LAN, and it would be
helpful if it were more obvious that I'm connected to another machine. Of
course, the standard prompt tells me th
On Wed, Sep 14, 2005 at 05:45:08PM +0200, Holly Bostick wrote:
> OK, you're right. I think that the problems that I was working around
> may have been based in *sudo*, not su itself, which works fine (now), as
> does sudo su. But when I was setting up my system with sudo (like a
> month and a half
Willie Wong schreef:
> On Wed, Sep 14, 2005 at 01:25:00PM +0200, Holly Bostick wrote:
>
>> Charles Trois schreef:
>>>
>>> I thought that /etc/profile should provide the default, but I was
>>> obviously wrong. Trying to mend things, I created two files
>>> /root/.bash_profile and /root/.bashrc,
On Wed, Sep 14, 2005 at 11:30:19AM +0200, Hans-Werner Hilse wrote:
> Hi,
>
> On Wed, 14 Sep 2005 11:15:13 +0200
> Charles Trois <[EMAIL PROTECTED]> wrote:
>
> > I am getting confused with profile, bashrc, etc.
> > The prompt string I want to use is
> >
> > PS1="[EMAIL PROTECTED] \W]\$ "
> >
> >
On Wed, Sep 14, 2005 at 01:25:00PM +0200, Holly Bostick wrote:
> Charles Trois schreef:
> > Hello!
> >
> > I am getting confused with profile, bashrc, etc. The prompt string I
> > want to use is
> >
> > PS1="[EMAIL PROTECTED] \W]\$ "
> >
> > I therefore wrote it in /etc/profile (at two levels,
On Wed, 2005-09-14 at 11:15 +0200, Charles Trois wrote:
> Hello!
>
Hi Charles,
> I am getting confused with profile, bashrc, etc.
> The prompt string I want to use is
>
> PS1="[EMAIL PROTECTED] \W]\$ "
>
> I therefore wrote it in /etc/profile (at two levels, root and non-root),
> ~/.bash_profi
Charles Trois schreef:
> Hello!
>
> I am getting confused with profile, bashrc, etc. The prompt string I
> want to use is
>
> PS1="[EMAIL PROTECTED] \W]\$ "
>
> I therefore wrote it in /etc/profile (at two levels, root and
> non-root), ~/.bash_profile and ~/.bashrc.
>
> If I log in as a plain
Hi,
On Wed, 14 Sep 2005 11:15:13 +0200
Charles Trois <[EMAIL PROTECTED]> wrote:
> I am getting confused with profile, bashrc, etc.
> The prompt string I want to use is
>
> PS1="[EMAIL PROTECTED] \W]\$ "
>
> [...]
> I thought that /etc/profile should provide the default, but I was
> obviously w
Hello!
I am getting confused with profile, bashrc, etc.
The prompt string I want to use is
PS1="[EMAIL PROTECTED] \W]\$ "
I therefore wrote it in /etc/profile (at two levels, root and non-root),
~/.bash_profile and ~/.bashrc.
If I log in as a plain user (moi), I get this:
[EMAIL PROTECTED]
15 matches
Mail list logo