diff options
Diffstat (limited to 'Misc/bash2zshprompt')
-rw-r--r-- | Misc/bash2zshprompt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/bash2zshprompt b/Misc/bash2zshprompt index aa0472ed1..3fbbf9933 100644 --- a/Misc/bash2zshprompt +++ b/Misc/bash2zshprompt @@ -44,6 +44,8 @@ while (<>) { s/(?<!\\)\\#/%!/g; # hmmm s/(?<!\\)\\n/\$prompt_newline/g; s/(?<!\\)\\s/\$SHELL/g; + s/(?<!\\)\\v/\$ZSH_VERSION[1]/g; + s/(?<!\\)\\V/\${ZSH_VERSION%%-*}/g; s/(?<!\\)\\w/%~/g; s/(?<!\\)\\W/%1~/g; s/(?<!\\)\\\$(?!\()/%\#/g; |