You are not logged in.

#1 2019-12-10 12:50:50

damo
....moderator....
Registered: 2015-08-20
Posts: 5,967

Lithium dev - terminal prompts need some love

OOTB:

damo@lithium-dev:~$ cd /tmp
damo@lithium-dev:/tmp$

root@lithium-dev:/etc/apt/sources.list.d# 

I think readability would be improved by adding some spacing in the line in .bashrc:

PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w \$ '
                                               ^here

This gives:

lithium-dev:~ # cd /tmp
lithium-dev:/tmp # 

Personally I always bring in my own .bashrc files, with nice colored prompts - green for $USER and red for root.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#2 2019-12-10 13:10:15

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: Lithium dev - terminal prompts need some love

^IMHO, this is highly personal ... I prefer this without space; in my mind (the first) space delimits 'unnecessary junk' on the left, and command on the right.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#3 2019-12-10 15:03:05

damo
....moderator....
Registered: 2015-08-20
Posts: 5,967

Re: Lithium dev - terminal prompts need some love

iMBeCil wrote:

^IMHO, this is highly personal ... I prefer this without space; in my mind (the first) space delimits 'unnecessary junk' on the left, and command on the right.

But this is confusing IMO

/tmp$

instead of

/tmp $

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2019-12-10 20:01:21

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: Lithium dev - terminal prompts need some love

^Not to me ... just opposite to you  tongue

As i said, it is highly personal. Of course, whatever it will be set as default, it is "vim .bashrc /PS1 + a few other wild keystrokes + ESC :x" away from setting it to one's own preferences.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#5 2019-12-11 02:15:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,778
Website

Re: Lithium dev - terminal prompts need some love

Have to agree with Imbecil here, at least that people have individual preferences, and without a clear majority wanting change I think we're best sticking with the Debian default settings - ie the way it is now - and leave tweaking to users.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

Board footer

Powered by FluxBB