Computer Old Farts Forum
 help / color / mirror / Atom feed
* Re: [COFF] What is your prompt?
@ 2021-12-25  2:50 Rudi Blom
  2021-12-25  4:40 ` Theodore Ts'o
  0 siblings, 1 reply; 26+ messages in thread
From: Rudi Blom @ 2021-12-25  2:50 UTC (permalink / raw)
  To: coff


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

On my Windows 11 notebook with WSL2 + Linux I got as default

rubl@DESKTOP-NQR082T:~$ echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@
\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
rubl@DESKTOP-NQR082T:~$ uname -a
Linux DESKTOP-NQR082T 5.10.74.3-microsoft-standard-WSL2+ #4 SMP Sun Dec 19
16:25:10 +07 2021 x86_64 x86_64 x86_64 GNU/Linux
rubl@DESKTOP-NQR082T:~$

-- 
The more I learn the better I understand I know nothing.

[-- Attachment #1.2: Type: text/html, Size: 656 bytes --]

[-- Attachment #2: Type: text/plain, Size: 141 bytes --]

_______________________________________________
COFF mailing list
COFF@minnie.tuhs.org
https://minnie.tuhs.org/cgi-bin/mailman/listinfo/coff

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [COFF] What is your prompt? (was: ksh88 source code?)
@ 2021-12-23  6:59 Andy Kosela
  2021-12-24 17:17 ` [COFF] What is your prompt? Grant Taylor via COFF
  0 siblings, 1 reply; 26+ messages in thread
From: Andy Kosela @ 2021-12-23  6:59 UTC (permalink / raw)
  To: Adam Thornton; +Cc: Computer Old Farts Followers

On 12/22/21, Adam Thornton <athornton@gmail.com> wrote:
> MacOS finally pushed me to zsh.  So I went all the way and installed
> oh-my-zsh.  It makes me feel very dirty, and I have a two-line prompt (!!),
> but I can't deny it's convenient.
>
> tickets/DM-32983 ✗
> adam@m1-wired:~/git/jenkins-dm-jobs$
>
> (and in my terminal, the X glyph next to my git branch showing the status
> is dirty is red while the branch name is green)
>
> and if something doesn't exit with rc=0...
>
> adam@m1-wired:~/git/jenkins-dm-jobs$ fart
> zsh: command not found: fart
> tickets/DM-32983 ✗127 ⚠️
> adam@m1-wired:~/git/jenkins-dm-jobs$
>
> Then I also get the little warning glyph and the rc of the last command in
> my prompt.
>
> But then I'm also now using Fira Code with ligatures in my terminal, so
> I've pretty much gone full Red Lightsaber.

I try to keep my prompt as simple as possible.  For years I have been using:

  moon $

That 's it.  No fancy colors, not even displaying current working
directory.  I have an alias 'p' for that.

--Andy
_______________________________________________
COFF mailing list
COFF@minnie.tuhs.org
https://minnie.tuhs.org/cgi-bin/mailman/listinfo/coff

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-12-27 19:26 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-25  2:50 [COFF] What is your prompt? Rudi Blom
2021-12-25  4:40 ` Theodore Ts'o
2021-12-25 17:39   ` Steffen Nurpmeso
2021-12-25 18:28     ` Grant Taylor via COFF
2021-12-25 19:14       ` Steffen Nurpmeso
2021-12-26  3:44         ` Grant Taylor via COFF
2021-12-25 23:19   ` Greg 'groggy' Lehey
2021-12-25 23:43     ` Steffen Nurpmeso
2021-12-26 21:18       ` Theodore Ts'o
2021-12-26 21:33         ` Warner Losh
2021-12-27  1:33           ` Theodore Ts'o
2021-12-27  2:52             ` Rudi Blom
2021-12-27  3:43               ` Greg 'groggy' Lehey
2021-12-27  4:06                 ` Rudi Blom
2021-12-27  4:12                   ` Greg 'groggy' Lehey
2021-12-27  4:28                     ` Rudi Blom
2021-12-27 18:44           ` Steffen Nurpmeso
2021-12-27 18:55             ` Warner Losh
2021-12-27 19:07               ` Grant Taylor via COFF
2021-12-27 19:25               ` Steffen Nurpmeso
2021-12-27 18:37         ` Steffen Nurpmeso
2021-12-26  3:29     ` Grant Taylor via COFF
2021-12-26  3:54       ` Greg 'groggy' Lehey
2021-12-26  5:27         ` Grant Taylor via COFF
  -- strict thread matches above, loose matches on Subject: below --
2021-12-23  6:59 [COFF] What is your prompt? (was: ksh88 source code?) Andy Kosela
2021-12-24 17:17 ` [COFF] What is your prompt? Grant Taylor via COFF
2021-12-26 22:17   ` Mike Markowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).