Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Prompt pimpin
Results 1 to 7 of 7

Thread: Prompt pimpin

  1. #1
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206

    Prompt pimpin

    I tried this thread a while back and no one had any clue what I was talking about. I am going to try it again here. So for those of use that spend alot of time on the command prompt, we like to customize it a bit. Show off your PS1 env var here:


    Code:
    jeffrey@gondor:[~]
    [09:22 AM]:echo $PS1
    \n\e[1;32m\u@\h\e[0m:[\e[1;36m\w\e[0m]\n[\e[0;32m\@\e[0m]:
    I like a colored prompt..

    It looks better on a black background too.
    jro -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    Linux counter#:213782
    GnuPG ID: 406238E7

  2. #2
    nice thread!! mine is highhhly generic:

    PS1="[\u@\h \w]"
    telnet mtrek.game-host.org 1701

  3. #3
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Code:
    radar@saturn:~$ echo $PS1
    ${debian_chroot:+($debian_chroot)}\[\033[1;35m\]\u@\[\033[1;36m\]\h:\w\$\[\033[0;39m\]
    radar@saturn:~$ cowsay moo
     _____
    < moo >
     -----
            \   ^__^
             \  (oo)\_______
                (__)\       )\/\
                    ||----w |
                    ||     ||

    Last edited by Outlaw; 02-21-2006 at 01:56 AM.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  4. #4
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Nice, I haven't seen cowsay in a while.. Have you tried any of the 'skins' for it?

    I always like to start a tweakers thread, just to share all the little things people to do customize their systems.
    jro -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    Linux counter#:213782
    GnuPG ID: 406238E7

  5. #5
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Quote Originally Posted by jro
    Have you tried any of the 'skins' for it?
    Code:
     ______________
    ( methinks not )
     --------------
            o   ^__^
             o  (oo)\_______
                (__)\       )\/\
                    ||----w |
                    ||     ||
    I didn't know there were skins.

    This is one that I used to use for my production servers. Will probably resurrect it since I'm bored with the default.

    Code:
    radar@saturn:~$  . testprompt
    [saturn:~]$ echo $PS1
    \033[0;32m\][\033[0;31m\]\h\033[0;32m\]:\w]$\033[0;39m\]
    echo $PS1
    [saturn:~]$ . .bashrc
    radar@saturn:~$


    This all looks better against a black background.
    Last edited by Outlaw; 02-21-2006 at 03:12 AM.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  6. #6
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    Code:
     
    jeffrey@gondor:[~]
    [04:34 PM]:cowsay -f daemon BSD Sucks
     ___________
    < BSD Sucks >
     -----------
       \         ,        ,
        \       /(        )`
         \      \ \___   / |
                /- _  `-/  '
               (/\/ \ \   /\
               / /   | `    \
               O O   ) /    |
               `-^--'`<     '
              (_.)  _  )   /
               `.___/`    /
                 `-----' /
    <----.     __ / __   \
    <----|====O)))==) \) /====
    <----'    `--' `.__,' \
                 |        |
                  \       /
            ______( (_  / \______
          ,'  ,-----'   |        \
          `--{__________)        \/
    Check out the cows directory where you installed cowsay
    jro -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    Linux counter#:213782
    GnuPG ID: 406238E7

  7. #7
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Code:
     ____________________
    < uhuhhhuhuh huhuuuh >
     --------------------
       \         __------~~-,
        \      ,'            ,
              /               \
             /                :
            |                  '
            |                  |
            |                  |
             |   _--           |
             _| =-.     .-.   ||
             o|/o/       _.   |
             /  ~          \ |
           (____@)  ___~    |
              |_===~~~.`    |
           _______.--~     |
           \________       |
                    \      |
                  __/-___-- -__
                 /            _ \

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Similar Threads

  1. Colored prompt
    By postlogic in forum General Chat
    Replies: 2
    Last Post: 01-20-2005, 09:58 PM
  2. different console in non-X command prompt
    By Blaqb0x in forum Linux - General Topics
    Replies: 2
    Last Post: 06-24-2003, 03:46 PM
  3. csh: $cwd in prompt= not updating
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 02-11-2003, 04:13 AM
  4. KSH prompt help!
    By Killer_Penguin in forum BSD
    Replies: 4
    Last Post: 01-08-2002, 04:43 AM
  5. boot prompt
    By vikram_nanda in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 09-10-2001, 12:54 AM

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
  •