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

Re: Buglet in zsh perforce completion function



On Jun 9,  6:59pm, Bart Schaefer wrote:
}
}     -W FILE-PREFIX
}           This string is a pathname that will be prepended to each of
}           the matches formed by the given WORDS together with any
}           prefix specified by the -p option to form a complete filename
}           for testing.  Hence it is only useful if combined with the -f
}           flag, as the tests will not otherwise be performed.
} 
} There isn't any -f option in your compadd, so the -W option is just
} confusing.

Ignore that, I misread "if combined" as "unless combined".  I've had a bad
cold for the last few days and probably shouldn't even be trying to think
about stuff like this.  This part, though ...

} Also you've said that -p and -W are the same string, which
} by my reading means [...] it would test for
} the file "$dir/$dir/..." which can't possibly be what you mean.

... still stands.



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