mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
use RPS2 to put states on the right
This commit is contained in:
parent
16f1f616f9
commit
6fd9ce2c82
2 changed files with 5 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ prompt_oliver_setup() {
|
|||
[[ ${USER:-`whoami`} == (root|${(j(|))~normal_users}) ]] && user=""
|
||||
|
||||
PS1="%{$pcolr%}$user$host%~%"'$((COLUMNS-12))'"(l.$prompt_newline. )[%h%1(j.%%%j.)%0(?..:%?)]%# %{$tcolr%}"
|
||||
RPS2='<%^'
|
||||
PS2=''
|
||||
}
|
||||
|
||||
prompt_oliver_setup "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue