summaryrefslogtreecommitdiff
path: root/zephyr-env.sh
diff options
context:
space:
mode:
authord0u9 <d0u9.su@outlook.com>2016-03-18 20:50:21 +0800
committerGerrit Code Review <gerrit@zephyrproject.org>2016-03-18 22:01:19 +0000
commit6cd159674aa9582abf9e0c3ca2bf67634f7adb88 (patch)
tree816ca0d7cf4da4f01dc3a3d599bab743924c5c19 /zephyr-env.sh
parent47d88b25ecb223c9141aa513142d9abd988037da (diff)
zephyr-env.sh: Add a note to indicate the required version of zsh
For zsh users, to successfully source this environment set up script, the version of zsh need to be 5.0.6 or above. Users can download the newest zsh at http://zsh.sourceforge.net/Arc/source.html, and then install it manually. Change-Id: I1877b4030cf8688bce6b2483c302f957f4a5506f Signed-off-by: d0u9 <d0u9.su@outlook.com>
Diffstat (limited to 'zephyr-env.sh')
-rw-r--r--zephyr-env.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr-env.sh b/zephyr-env.sh
index 21f47946e..0e75530e6 100644
--- a/zephyr-env.sh
+++ b/zephyr-env.sh
@@ -19,6 +19,9 @@
# to the name of the function/script when executing a shell function or
# sourcing a script. POSIX_ARGZERO option, when it is set, exposes the
# original value of $0 in spite of the current FUNCTION_ARGZERO setting.
+#
+# Note: The version of zsh need to be 5.0.6 or above. Any versions below
+# 5.0.6 maybe encoutner errors when sourcing this script.
if [ -n "$ZSH_VERSION" ]; then
DIR="${(%):-%N}"
if [ $options[posixargzero] != "on" ]; then