diff --git a/wled b/wled index c0e89ff..8ed3fab 100755 --- a/wled +++ b/wled @@ -13,6 +13,11 @@ VERSION="0.1.3" exit_code=0 host_list= +# Shell specific options. +case "$(readlink /proc/$$/exe)" in + */zsh) setopt SH_WORD_SPLIT ;; +esac + # Make the exit status of command pipelines the status of the last command # with non-zero exit status - if supported by this shell. (set -o pipefail 2>/dev/null) && set -o pipefail