about summary refs log tree commit diff
path: root/Misc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-06 19:40:30 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-06 19:40:30 +0000
commitfec67b27493bbdae7295ee2a665e33a1e5f1a86f (patch)
treeba25dd2e7a3cb0b277aefa6fd1e55d83986c5b03 /Misc
parentc331b6f4cad8944ec0d963ff5aeeb746b87ef936 (diff)
downloadzsh-fec67b27493bbdae7295ee2a665e33a1e5f1a86f.tar.gz
zsh-fec67b27493bbdae7295ee2a665e33a1e5f1a86f.tar.xz
zsh-fec67b27493bbdae7295ee2a665e33a1e5f1a86f.zip
zsh-workers/8144
Diffstat (limited to 'Misc')
-rw-r--r--Misc/bash2zshprompt2
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;