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:
parent
1d7c63f80f
commit
0e0132e8fa
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue