Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
labs:custom_prompt [2009/09/24 19:47] – admin | labs:custom_prompt [2009/09/24 19:50] – admin | ||
---|---|---|---|
Line 50: | Line 50: | ||
|Black | |Black | ||
- | Blue 0;34 | + | |Blue | 0;34 || |
- | Green | + | |Green | |
- | Cyan 0;36 | + | |Cyan |
- | Red | + | |Red | |
- | Purple | + | |Purple |
- | Brown | + | |Brown | |
- | Light Gray 0;37 | + | |Light Gray | 0;37 |
===== Examples ===== | ===== Examples ===== | ||
Line 65: | Line 65: | ||
PS1=' | PS1=' | ||
- | # With Color: | + | Look at the escape sequences above to help you determine what the above prompt description means. |
- | PS1=" | + | |
+ | '' | ||
PS1=" | PS1=" | ||
+ | |||
+ | This one would look like hostname: | ||
+ | |||
+ | **With Color: | ||
+ | |||
+ | PS1=" | ||
+ | |||
export PS1=" | export PS1=" | ||