SCIENTIFIC-LINUX-USERS Archives

August 2021

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ekkard Gerlach <[log in to unmask]>
Reply To:
Ekkard Gerlach <[log in to unmask]>
Date:
Fri, 13 Aug 2021 10:04:43 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
Thx to all and especially to Jack: https://urldefense.proofpoint.com/v2/url?u=http-3A__bashrcgenerator.com_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=1s18G4I-TMUkFYYV7_GRfJCXhhj41z_T3_4XvUqaS-o&s=JVAL0tewStSZNWlB6sfoqsO9QUbGyk8q1tJOZ1bhSl4&e=  
<https://urldefense.proofpoint.com/v2/url?u=http-3A__bashrcgenerator.com_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=1s18G4I-TMUkFYYV7_GRfJCXhhj41z_T3_4XvUqaS-o&s=JVAL0tewStSZNWlB6sfoqsO9QUbGyk8q1tJOZ1bhSl4&e= > displayed most common bash promt as first 
example, same like i wanted:

export PS1="\u@\h:\w\\$ \[$(tput sgr0)\]"

I inserted that to ~/.bashrc , now works! :)

Am 13.08.21 um 01:05 schrieb Jack Aboutboul:
>
> There is also a nifty configuration that will spit out what you want 
> here: https://urldefense.proofpoint.com/v2/url?u=http-3A__bashrcgenerator.com_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=1s18G4I-TMUkFYYV7_GRfJCXhhj41z_T3_4XvUqaS-o&s=JVAL0tewStSZNWlB6sfoqsO9QUbGyk8q1tJOZ1bhSl4&e=  <https://urldefense.proofpoint.com/v2/url?u=http-3A__bashrcgenerator.com_&d=DwIDaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=1s18G4I-TMUkFYYV7_GRfJCXhhj41z_T3_4XvUqaS-o&s=JVAL0tewStSZNWlB6sfoqsO9QUbGyk8q1tJOZ1bhSl4&e= >
>
> —Jack

ATOM RSS1 RSS2