Skip to content

Commit

Permalink
zephyr-env.sh: reduce posixargzero side effects.
Browse files Browse the repository at this point in the history
For example, when using zsh p9k theme will cause
some problems that affect the experience.

Fixes #20284.

Signed-off-by: Hosun Zhu <hosun@linux.com>
  • Loading branch information
Hosun Zhu authored and carlescufi committed Nov 11, 2019
1 parent 0443c6d commit b479e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b479e91

Please sign in to comment.