1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00

fix globbing

This commit is contained in:
Frederick Zhang 2019-10-23 19:53:05 +11:00
parent 23f1c44ae2
commit aad3bb04a8
No known key found for this signature in database
GPG key ID: 980A192C361BE1AE

View file

@ -25,7 +25,11 @@ function _do_sudo() {
shift shift
break break
else else
args+=( $1 ) if ((__do_sudo_glob)); then
args+=( $~==1 )
else
args+=( $==1 )
fi
shift shift
fi fi
;; ;;