From b479e914f8b282121432da58b7a7817bc5551c4f Mon Sep 17 00:00:00 2001 From: Hosun Zhu Date: Mon, 4 Nov 2019 22:18:48 +0800 Subject: [PATCH] zephyr-env.sh: reduce posixargzero side effects. For example, when using zsh p9k theme will cause some problems that affect the experience. Fixes #20284. Signed-off-by: Hosun Zhu --- zephyr-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr-env.sh b/zephyr-env.sh index f6c7f23c5a2..a6d9009d005 100644 --- a/zephyr-env.sh +++ b/zephyr-env.sh @@ -17,7 +17,7 @@ if [ -n "${ZSH_VERSION:-}" ]; then if [ $options[posixargzero] != "on" ]; then setopt posixargzero NAME=$(basename -- "$0") - setopt posixargzero + unsetopt posixargzero else NAME=$(basename -- "$0") fi