protect set_default from user-defined options

pull/70/head
romkatv 5 years ago
parent 1d7c63f80f
commit 0e0132e8fa

@ -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

Loading…
Cancel
Save