Update the doc about the postfix, add an author.
This commit is contained in:
parent
e76781d617
commit
f9e9be43aa
@ -176,13 +176,18 @@ disabled.
|
||||
|
||||
## CUSTOMIZING THE PROMPT
|
||||
|
||||
### ADD A PS1 PREFIX
|
||||
### ADD A PREFIX/POSTFIX
|
||||
|
||||
You can prefix the `LP_PS1` variable with anything you want using the
|
||||
`LP_PS1_PREFIX`. The following example activate a custom window's title:
|
||||
|
||||
LP_PS1_PREFIX="\[\e]0;\u@\h: \w\a\]"
|
||||
|
||||
To postfix the prompt, use the `LP_PS1_POSTFIX` variable. For example, to add a
|
||||
newline and a single character:
|
||||
|
||||
LP_PS1_POSTFIX="\n>"
|
||||
|
||||
Note: the `prompt_tag` function is convenient way to add a prefix. You can thus add
|
||||
a keyword to your different terminals:
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
# Alex Prengère <alexprengere@gmail.com> # untracked git files
|
||||
# Aurelien Requiem <aurelien@requiem.fr> # Major clean refactoring, variable path length, error codes, several bugfixes.
|
||||
# Brendan Fahy <bmfahy@gmail.com> # postfix variable
|
||||
# Clément Mathieu <clement@unportant.info> # Bazaar support
|
||||
# David Loureiro <david.loureiro@sysfera.com> # small portability fix
|
||||
# Étienne Deparis <etienne.deparis@umaneti.net> # Fossil support
|
||||
|
Loading…
x
Reference in New Issue
Block a user