1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-18 02:30:07 +00:00

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`. # Options are the same as in `typeset`.
function set_default() { function set_default() {
emulate -L zsh
local -a flags=(-g) local -a flags=(-g)
while true; do while true; do
case $1 in case $1 in