On Jo, 02 sep 21, 19:34:07, David Wright wrote:
>
> (I use my own customisations for distinct colours on each host,
> and inverse colours for root's prompt.)
Since we're sharing bash prompts here's mine, as an extract from the
diff to /etc/skel/.bashrc
--- /etc/skel/.bashrc 2019-04-18
On Sun 05 Sep 2021 at 09:06:31 (-0400), Greg Wooledge wrote:
> On Sat, Sep 04, 2021 at 11:23:48PM -0500, David Wright wrote:
> > $ cat /var/local/lib/myhosts/colours/axis
> > 5 magenta bbarbutton=white,magenta,none:bbarhotkey=magenta,white,none
> > $
> >
> > 5 is for ANSI colours,
> > magenta
I may as well add to the fun here.
Some years back, probably the late '90s or so, there was a short lived
"Bash Prompt Project". I seem to recall it have a package in Debian
back around that time. I had previously done colorizing of the MS-DOS
prompt and had desired to do the same in Bash.
On Sun, Sep 05, 2021 at 09:38:34AM -0400, Cindy Sue Causey wrote:
> There's also that thing about how terminals will interpret the
> different types of quotes (dumb/typewriter/ASCII versus
> typographic/curly/smart) very literally. I experienced THAT fail
> firsthand and now try to remember to
On 9/5/21, Greg Wooledge wrote:
> On Sun, Sep 05, 2021 at 12:28:37AM -0500, Intense Red wrote:
>> > In /root/.bashrc I use this to give a red prompt including host and
>> > full path followed by a new line.
>>
>>I take this idea a bit further, setting a longer prompt and setting
>>
On Sat, Sep 04, 2021 at 11:23:48PM -0500, David Wright wrote:
> $ cat /var/local/lib/myhosts/colours/axis
> 5 magenta bbarbutton=white,magenta,none:bbarhotkey=magenta,white,none
> $
>
> 5 is for ANSI colours,
> magenta is for, eg emacs, mutt, etc,
> bbarbutton is for mc.
>
> The lines from
On Sun, Sep 05, 2021 at 12:28:37AM -0500, Intense Red wrote:
> > In /root/.bashrc I use this to give a red prompt including host and
> > full path followed by a new line.
>
>I take this idea a bit further, setting a longer prompt and setting
> workstation hosts for specific colors for user
On 9/5/21, Intense Red wrote:
>> In /root/.bashrc I use this to give a red prompt including host and
>> full path followed by a new line.
>
>I take this idea a bit further, setting a longer prompt and setting
> workstation hosts for specific colors for user logins, and then doing a red
>
>
> In /root/.bashrc I use this to give a red prompt including host and
> full path followed by a new line.
I take this idea a bit further, setting a longer prompt and setting
workstation hosts for specific colors for user logins, and then doing a red
prompt for servers.
Part of my
On Fri 03 Sep 2021 at 02:45:03 (+0100), piorunz wrote:
> On 03/09/2021 01:34, David Wright wrote:
> > (I use my own customisations for distinct colours on each host,
> > and inverse colours for root's prompt.)
>
> Can you please share your root prompt invocation? Thanks!
Sure. The colours come
On 9/2/21 5:45 PM, piorunz wrote:
> On 03/09/2021 01:34, David Wright wrote:
>> (I use my own customisations for distinct colours on each host,
>> and inverse colours for root's prompt.)
>
> Can you please share your root prompt invocation? Thanks!
>
In /root/.bashrc I use this to give a red
On 03/09/2021 01:34, David Wright wrote:
(I use my own customisations for distinct colours on each host,
and inverse colours for root's prompt.)
Can you please share your root prompt invocation? Thanks!
--
With kindest regards, piorunz.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating
On Thu, Sep 2, 2021, 7:34 PM David Wright wrote
>
> (I use my own customisations for distinct colours on each host,
> and inverse colours for root's prompt.)
>
Good idea :-)
For some reason putting "root:" there doesn't save me 100% of the time :-)
Cheers,
> David.
>
>
On Fri 03 Sep 2021 at 03:15:13 (+0300), IL Ka wrote:
> .bashrc on bullseye contains following lines
>
> ```
> # set a fancy prompt (non-color, unless we know we "want" color)
> case "$TERM" in
> xterm-color|*-256color) color_prompt=yes;;
> esac
> ```
>
> So we only have colors in the
Hi
.bashrc on bullseye contains following lines
```
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
```
So we only have colors in the terminal emulator, but not in virtual
linux console.
This could be fixed by
15 matches
Mail list logo