mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-08 18:31:28 +01:00
zsh-workers/8144
This commit is contained in:
parent
c331b6f4ca
commit
fec67b2749
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ while (<>) {
|
||||||
s/(?<!\\)\\#/%!/g; # hmmm
|
s/(?<!\\)\\#/%!/g; # hmmm
|
||||||
s/(?<!\\)\\n/\$prompt_newline/g;
|
s/(?<!\\)\\n/\$prompt_newline/g;
|
||||||
s/(?<!\\)\\s/\$SHELL/g;
|
s/(?<!\\)\\s/\$SHELL/g;
|
||||||
|
s/(?<!\\)\\v/\$ZSH_VERSION[1]/g;
|
||||||
|
s/(?<!\\)\\V/\${ZSH_VERSION%%-*}/g;
|
||||||
s/(?<!\\)\\w/%~/g;
|
s/(?<!\\)\\w/%~/g;
|
||||||
s/(?<!\\)\\W/%1~/g;
|
s/(?<!\\)\\W/%1~/g;
|
||||||
s/(?<!\\)\\\$(?!\()/%\#/g;
|
s/(?<!\\)\\\$(?!\()/%\#/g;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue