Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Something rotten in tar completion



(Aside, I think I know WHAT is going on with my email not reaching the list,
now I just have to figure out WHY.)

On Dec 4,  8:56am, Bart Schaefer wrote:
}
} not seem useful to regenerate the recursive listing for every directory
} in the recursive-files style:
} 
} +	    local subtree
} +	    subtree=( **/*(/) )
}  	    for rfile in $rfiles; do
}  	      if [[ $PWD/ = ${~rfile} ]]; then
} -		for prepath in **/*(/); do
} +		for prepath in $subtree; do


I suppose the assumption is that $PWD/ will only match one of the rfiles
patterns, so this might actually be more work than before.  Ignore this
patch, sorry.

-- 
Barton E. Schaefer



Messages sorted by: Reverse Date, Date, Thread, Author