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:45] – admin | labs:custom_prompt [2009/09/24 19:49] – admin | ||
---|---|---|---|
Line 48: | Line 48: | ||
\] end a sequence of non-printing characters | \] end a sequence of non-printing characters | ||
===== Color Codes ===== | ===== Color Codes ===== | ||
+ | |||
+ | |Black | ||
+ | |Blue | ||
+ | |Green | ||
+ | |Cyan | 0;36 | ||
+ | |Red | ||
+ | |Purple | ||
+ | |Brown | ||
+ | |Light Gray | 0;37 || White | ||
===== Examples ===== | ===== Examples ===== | ||
Line 56: | Line 65: | ||
PS1=' | PS1=' | ||
- | # With Color: | + | Look at the escape sequences above to help you determine what this is saying. |
- | PS1=" | + | |
+ | '' | ||
PS1=" | PS1=" | ||
+ | |||
+ | |||
+ | **With Color: | ||
+ | |||
+ | PS1=" | ||
+ | |||
export PS1=" | export PS1=" | ||