Bug 110852 - bug in /usr/share/zsh/4.0.7/functions/_files breaks completion
Summary: bug in /usr/share/zsh/4.0.7/functions/_files breaks completion
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: zsh
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-24 21:14 UTC by Keith T. Garner
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-13 06:25:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch file that's included in description (352 bytes, patch)
2003-11-24 21:18 UTC, Keith T. Garner
no flags Details | Diff

Description Keith T. Garner 2003-11-24 21:14:09 UTC
Description of problem:
A small bug in _files as shipped from the zsh folks breaks
auto-complete in a few places.

Version-Release number of selected component (if applicable):
zsh-4.0.7-1.1

--- _files.orig 2003-11-24 15:10:28.000000000 -0600
+++ _files      2003-11-24 15:10:11.000000000 -0600
@@ -28,7 +28,7 @@
   [[ "$type" = */* ]] && glob="$glob,*(-/)"
   pats=()

-  for i in ${tmp//%p/${${glob:-\*}//:/\\:}}; do
+  for i in ${tmp//\%p/${${glob:-\*}//:/\\:}}; do
     if [[ $i = *[^\\]:* ]]; then
       pats=( "$pats[@]" " $i " )
     else

Comment 1 Keith T. Garner 2003-11-24 21:18:24 UTC
Created attachment 96157 [details]
Patch file that's included in description

Comment 2 Jens Petersen 2003-11-25 03:06:23 UTC
Thanks.  [patch confirmed in upstream cvs.]

Should be in the zsh-4.0.7-2.


Note You need to log in before you can comment on or make changes to this bug.