Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
weird bit in _man
- X-seq: zsh-workers 29802
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: weird bit in _man
- Date: Tue, 27 Sep 2011 00:17:17 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=zWSGsEp2hzvExbKw7+KSF3uD6JxXR2VUXa5lYPfKm+w=; b=nZI9ir2VQqQXFNbTheXAx7F9sFdZ4334yFEnkhuBIdKbRLdCL+hqXa4ur8Ye5WXw4x 1pbX+XNlTxEf/+YsZGnIOccJ3V8FrcWb9InW8yad1GmNtx8TluvpjGJBIq3uAjykjB5c IyYggLMamUS5/C6Ybd3VCA2jsUPhsWKL4FmLg=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
if [[ $service == man ]] && (( $words[(I)-l] +
$words[(I)--local-file] )); then
_files || return 0
fi
surely that should be && ? Or maybe even _files; return since it
doesn't make sense to complete manpages at all if -l is given. But
returning success if no files were completed and not offering any
manpages doesn't seem all that useful... Am I missing something?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author