mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00:00
fix globbing
This commit is contained in:
parent
23f1c44ae2
commit
aad3bb04a8
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ function _do_sudo() {
|
|||
shift
|
||||
break
|
||||
else
|
||||
args+=( $1 )
|
||||
if ((__do_sudo_glob)); then
|
||||
args+=( $~==1 )
|
||||
else
|
||||
args+=( $==1 )
|
||||
fi
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue