geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


HOWTO: Change your Shell Prompt
Documentation Posted by Understudy on Sunday December 15, @12:38PM
from the show us your prompts dept.
In my last article, I explanied how to change your shell. This article is on how to change your shell prompts. Please show us your prompt(s).

This article is very large almost 60k with no .jpegs. So I am hosting it on my site and backlinking to this one. This article will show you how to customize you prompts for the 6 most common shells. They are Bourne, Korn, BASH, Z, TC,and C. Here is the breakdown on the article.

The entire article from the top.

Just want to deal with a certain shells here ya go.

The Bourne Shell

The Korn Shell

BASH

The Z Shell

The TC Shell

The C Shell

The table for the shell prompt variables

That part covers just basic prompt changing. You can also add colors to your prompt. Provided your terminal supports them. Some of the color information.

The color prompts section

The ANSI color table

Text background colors

Attributes

How to color the different shells:

The Bourne Shell

The Korn Shell

BASH

The Z Shell

The TC Shell

The C Shell

And the lazy shell change:

The Interactive Non Login Shell

The Bourne Shell

The Korn Shell

BASH

The Z Shell

The TC Shell

The C Shell

Finally the lazy prompt change:

The Lazy Prompt Change

The Bourne Shell Lazy Prompt Change

The Korn Shell Lazy Prompt Change

The BASH Lazy Prompt Change

The Z Shell Lazy Prompt Change

The TC/C Lazy Prompt Change

That's it. Now show us your prompt. If you have cool website that would also be helpful please make a reply. Thanks.

Add Reply

Name
Email
Notify Notify me via email of responses to this message
Title
Comment
(Check those URLs! Don't forget the http://!)
Encoding
If none of the above mean anything to you, select 'Plain'!
Attachment
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
Important Stuff:
  • Note: Fields with bold titles are required.
  • Please try to keep posts on topic.
  • Try to reply to other people comments instead of starting new threads,
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Please do not post offtopic, inflammatory, inappropriate, illegal, or offensive comments. Repeat offenders will be sanctioned.
  • "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]