mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-01-18 16:28:08 +01:00
fix globbing
This commit is contained in:
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user