Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cool Custom Bash Prompts

  1. #1
    Join Date
    Aug 2007
    Location
    Chattanooga, TN
    Beans
    192
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Cool Custom Bash Prompts

    i'm not sure if this has been done before, but i was wondering if we could start posting screenshots of unique and cool custom bash prompts... or links to..

  2. #2
    Join Date
    Aug 2007
    Location
    Chattanooga, TN
    Beans
    192
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Cool Custom Bash Prompts


  3. #3
    Join Date
    Dec 2006
    Location
    US and A
    Beans
    919
    Distro
    Ubuntu Development Release

    Re: Cool Custom Bash Prompts

    Check out bashish:

    http://bashish.sourceforge.net/

    One (of many themes available) example:

    Last edited by Soldierboy; November 23rd, 2008 at 03:50 PM.
    _,-O
    O
    (_)) ubuntu -
    -`-O

  4. #4
    Join Date
    Dec 2007
    Location
    South Africa
    Beans
    310
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Cool Custom Bash Prompts

    What can I change so that it can keep the same functionality, I just want it to say "Yes Master?" as the prompt?
    Last edited by rudihawk; November 21st, 2008 at 07:04 PM. Reason: Spelling

  5. #5
    Join Date
    Aug 2006
    Beans
    92
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Cool Custom Bash Prompts

    Have you figured this out yet rudihawk? I was going to tell you, but I wasn't sure if you'd come across the answer elsewhere yet.
    Last edited by fooey; November 21st, 2008 at 06:50 PM.

  6. #6
    Join Date
    Dec 2007
    Location
    South Africa
    Beans
    310
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Cool Custom Bash Prompts

    Hey fooey

    No I haven't managed to figure it out yet, perhaps you could enlighten me?

  7. #7
    Join Date
    May 2007
    Location
    San Francisco, California
    Beans
    5,849
    Distro
    Ubuntu

    Re: Cool Custom Bash Prompts

    Quote Originally Posted by Soldierboy View Post
    Check out bashish:

    http://bashish.sourceforge.net/

    One (of many themes available) example:

    That's actually pretty cool.

  8. #8
    Join Date
    Apr 2007
    Beans
    68

    Re: Cool Custom Bash Prompts

    Why not see the real thing? Set your background colour to your favourite dark colour and enter


    PS1='\[\033[01;39m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'

    to try it out and save it in ~/.bashrc to keep it. To give root a red glow place:

    PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'

    in that accounts .bashrc

    Admittedly not all that unique by a long shot... but still pretty cool.

    Thanks Daniel,

    ABCC

  9. #9
    Join Date
    Apr 2006
    Location
    Dalarna - Sweden
    Beans
    94
    Distro
    Ubuntu

    Re: Cool Custom Bash Prompts

    Quote Originally Posted by ABCC View Post
    Why not see the real thing? Set your background colour to your favourite dark colour and enter


    PS1='\[\033[01;39m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'

    to try it out and save it in ~/.bashrc to keep it. To give root a red glow place:

    PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'

    in that accounts .bashrc

    Admittedly not all that unique by a long shot... but still pretty cool.

    Thanks Daniel,

    ABCC
    Pretty much the same prompt as I'm using:

    Code:
    if [ ! `whoami` = root ]; then
    	PS1="\[\033[1;32m\]\u@\H\[\033[31m\]:\[\033[34m\] \w\[\033[m\]\[\033[33m\] $>\[\033[37m\] "
    else
    	PS1="\[\033[31m\]\u@\H\[\033[1;32m\]:\[\033[34m\] \w\[\033[m\]\[\033[33m\] #>\[\033[37m\] "
    fi

  10. #10
    Join Date
    Mar 2007
    Location
    $HOME (Washington State)
    Beans
    4,590

    Re: Cool Custom Bash Prompts

    Quote Originally Posted by rudihawk View Post
    Hey fooey

    No I haven't managed to figure it out yet, perhaps you could enlighten me?
    Sorry for the semi necro, but I thought I would answer you.

    I know how. Just put this in your .bashrc:
    Code:
    PS1='Yes, master?'
    That should do it.
    See my themes here! | Dont preach Linux, mention it | Make GNOME Themes
    I'm no longer on here. If you want to talk to me, go to noost.org.
    My DeviantArt | Linux user #461096 | Ubuntu user #15753

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •