From 43386376d8f861fe46ad59c616569c26fed631a9 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 1 Oct 2015 16:18:56 +0000 Subject: [PATCH] Set the version number. Store it in a separate file so OS packages and 'make install' (issue #177) can reuse it. --- .version | 1 + zsh-syntax-highlighting.zsh | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .version diff --git a/.version b/.version new file mode 100644 index 0000000..0ba2319 --- /dev/null +++ b/.version @@ -0,0 +1 @@ +0.3.0-dev \ No newline at end of file diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index ce9db28..3c3163d 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -29,6 +29,8 @@ # ------------------------------------------------------------------------------------------------- +ZSH_HIGHLIGHT_VERSION=$(<"$0:h"/.version) + # ------------------------------------------------------------------------------------------------- # Core highlighting update system # -------------------------------------------------------------------------------------------------