about summary refs log tree commit diff
path: root/Completion/compdump
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-06-16 15:10:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-06-16 15:10:13 +0000
commit78da7d872ecd24299b97573bf92c9582c74992b6 (patch)
tree9744f373ce840a73d4158e6c5abb11aee7011a09 /Completion/compdump
parent7c35cffb0deb01b35ad0ea737caf69a9f1749cae (diff)
downloadzsh-78da7d872ecd24299b97573bf92c9582c74992b6.tar.gz
zsh-78da7d872ecd24299b97573bf92c9582c74992b6.tar.xz
zsh-78da7d872ecd24299b97573bf92c9582c74992b6.zip
users/7553: include zsh version in dump file to avoid problems with upgrades
Diffstat (limited to 'Completion/compdump')
-rw-r--r--Completion/compdump2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/compdump b/Completion/compdump
index c762eee51..7b43a2668 100644
--- a/Completion/compdump
+++ b/Completion/compdump
@@ -33,7 +33,7 @@ if [[ -n "$_comp_secure" ]]; then
   (( $#_d_wdirs ))  && _d_files=( "${(@)_d_files:#(${(j:|:)_d_wdirs})/*}" )
 fi
 
-print "#files: $#_d_files" > $_d_file
+print "#files: $#_d_files\tversion: $ZSH_VERSION" > $_d_file
 
 # Dump the arrays _comps, _services and _patcomps.  The quoting
 # hieroglyphics ensure that a single quote inside a variable is itself