diff options
| author | Bao Trinh <baod.rate@gmail.com> | 2026-02-18 06:51:14 -0600 |
|---|---|---|
| committer | dana <dana@dana.is> | 2026-04-05 14:08:04 -0500 |
| commit | e2aa560919a2398d87ffb2a36e2cad8184f70c74 (patch) | |
| tree | 041f7f31ec6cb90254be5ea241d4c59e15c6b1c9 /Completion/Unix | |
| parent | github #153: _zfs update zpool-prop's (diff) | |
| download | zsh-master.tar zsh-master.tar.gz zsh-master.tar.bz2 zsh-master.tar.lz zsh-master.tar.xz zsh-master.tar.zst zsh-master.zip | |
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Command/_git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index f54d846d3..e9f72799c 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -8964,8 +8964,8 @@ _git() { ;; (option-or-argument) curcontext=${curcontext%:*:*}:git-$words[1]: - (( $+opt_args[--git-dir] )) && local -x GIT_DIR=${(Q)${~opt_args[--git-dir]}} - (( $+opt_args[--work-tree] )) && local -x GIT_WORK_TREE=${(Q)${~opt_args[--work-tree]}} + (( $+opt_args[--git-dir] )) && local -x GIT_DIR=${(eQ)${~opt_args[--git-dir]}} + (( $+opt_args[--work-tree] )) && local -x GIT_WORK_TREE=${(eQ)${~opt_args[--work-tree]}} if ! _call_function ret _git-$words[1]; then if [[ $words[1] = \!* ]]; then words[1]=${words[1]##\!} |
