protect set_default from user-defined options

This commit is contained in:
romkatv 2019-04-22 17:06:41 +02:00
parent 1d7c63f80f
commit 0e0132e8fa

View File

@ -10,6 +10,7 @@
#
# Options are the same as in `typeset`.
function set_default() {
emulate -L zsh
local -a flags=(-g)
while true; do
case $1 in