mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 07:10:58 +02:00
30019: _tar: fix parsing of argument to -C.
This commit is contained in:
parent
02dc5c681e
commit
fd1c2364f4
2 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
* 29998: Completion/Unix/Command/_git: fix a typo (--rerbose).
|
* 29998: Completion/Unix/Command/_git: fix a typo (--rerbose).
|
||||||
|
|
||||||
|
* 30019: Completion/Unix/Command/_tar: fix parsing of argument
|
||||||
|
to -C.
|
||||||
|
|
||||||
2011-12-13 Barton E. Schaefer <schaefer@zsh.org>
|
2011-12-13 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 30020: Functions/Prompts/promptinit: prevent prompt_opts and
|
* 30020: Functions/Prompts/promptinit: prevent prompt_opts and
|
||||||
|
@ -15750,5 +15753,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5539 $
|
* $Revision: 1.5540 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -177,7 +177,7 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if (( index )); then
|
if (( index )); then
|
||||||
index="$~words[index+1]"
|
index=${~${(Q)words[index+1]}}
|
||||||
[[ $index = (.|..|)/* ]] || index=~+/$index
|
[[ $index = (.|..|)/* ]] || index=~+/$index
|
||||||
_files -W $index
|
_files -W $index
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue