Page 3 of 3

Re: bash prompts

Posted: Tue Jun 24, 2014 2:48 am
by Sector11
pidsley wrote:
Sector11 wrote:re-installing again :)
Next time don't reinstall; you will never learn anything that way.
You saying I can get in without a password?

HINT please....

PM, please, this is off topic.

Re: bash prompts

Posted: Tue Jun 24, 2014 3:27 am
by machinebacon
hint: init=/bin/sh into the kernel boot line ;)

Re: bash prompts

Posted: Tue Jun 24, 2014 6:54 am
by wuxmedia
Classic, I use that one at work, can be /bin/bash.

Re: bash prompts

Posted: Tue Jun 24, 2014 9:18 am
by rhowaldt
somebody give that poor man an avatar.

Re: bash prompts

Posted: Tue Jun 24, 2014 2:59 pm
by Sector11
rhowaldt wrote:somebody give that poor man an avatar.
Noooooooooooooooooooooo! For the first time in YEARS I have HAIR!

@ everyone between the new hairy guys and here ... thanks ... I'll check that out. :D

Of course it's a bit late now but I can still look around. like pidsley says:
Next time don't reinstall; you will never learn anything that way.
and of course in the mean time as well.

Re: bash prompts

Posted: Thu Jul 10, 2014 4:51 pm
by machinebacon
http://bashrcgenerator.com/

Quick and dirty :)

Re: bash prompts

Posted: Thu Jul 10, 2014 5:15 pm
by wuxmedia
Finally the prompt of my dreams:

bash:0>julien@mycomputer Mon Feb 22:mycomputer.example!$
8)

Re: bash prompts

Posted: Sat Dec 27, 2014 6:01 pm
by dkeg
Can you tell I'm bored today ... since I don't ssh into other machines or care to see who I am, my machine name, or where I am

in $HOME/.bashrc ... bold white

Code: Select all

PS1='\[\e[1;37m\]\n+ \[\e[0m\]  '
and in /root/.bashrc ... bold red

Code: Select all

PS1='\[\e[1;31m\]\n+ \[\e[0m\]  '
swap out '+' for any desireable character

Re: bash prompts

Posted: Sun Dec 28, 2014 2:46 am
by Dr_Chroot
^ Hey, that looks very sharp, dkeg. With a hash, it may confuse some that I might be in a root terminal, but I like it anyway :D

Re: bash prompts

Posted: Sun Dec 28, 2014 3:01 am
by dkeg
right on. Well, as long as it doesn't confuse you, that's all that matters. BTW, you have an uncommmented out ${vol} in your statusbar

Re: bash prompts

Posted: Sun Dec 28, 2014 5:35 am
by Dr_Chroot
dkeg wrote:BTW, you have an uncommmented out ${vol} in your statusbar
You'd swear I was blind; I had to lean in towards the screen to see that stray "0". Thanks XD

Re: bash prompts

Posted: Sun Dec 28, 2014 10:56 am
by machinebacon
^ If you don't know of a girl is hot or not so hot, send her nude pics to dkeg, he will tell you :)

Re: bash prompts

Posted: Mon May 25, 2015 12:38 am
by rhowaldt
rhowaldt wrote:i always liked those prompts that had the info, then the ASCII-lines and shit to the line underneath. beautiful. i use a much simpler prompt myself but if i ever switch it will be to something like that.
finally, 1,5 years later, my newly found ricing joy has aimed itself at my PS1, and with a new and better understanding of unicode characters, i did indeed switch.

Code: Select all

PS1=$'\n\\[\e[1;34m\\]\u250C\u2524\u@\h [\w]\\[\e[0m\\]\n\\[\e[1;34m\\]\u2514\u2500\u2500\u2524\\[\e[0m\\]\$ '
debated whether to add job-number and history-number to it, but i never use it so left it out for now.
250515_0333.png
another intricate bit of customization: changed my hostname from 'grill' to 'lalala' :D

Re: bash prompts

Posted: Mon May 25, 2015 5:58 am
by kexolino
Then we turned it around :) I used to have a two-liner like that, but now it's just this:

Code: Select all

PS1="$HC$FBLE\w $FMAG» $RS"

Re: bash prompts

Posted: Tue Sep 08, 2015 2:53 am
by dkeg
prompt hmm, well right now its just a single dash. Its color is based on my battery state && level.

Code: Select all

PS1="\[\$(/home/dkeg/bin/promptd)\] - \[\e[0m\]"