From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@zsh.org>
Subject: PATCH: completion function for entr
Date: Tue, 07 Feb 2017 17:32:01 +0100 [thread overview]
Message-ID: <6377.1486485121@hydra.kiddle.eu> (raw)
This adds a completion for entr (http://entrproject.org) which is a
command-line utility for watching for file changes.
Oliver
diff --git a/Completion/Unix/Command/_entr b/Completion/Unix/Command/_entr
new file mode 100644
index 000000000..8a830ae71
--- /dev/null
+++ b/Completion/Unix/Command/_entr
@@ -0,0 +1,9 @@
+#compdef entr
+
+_arguments -s -S \
+ '-c[execute clear before invoking utility]' \
+ '-d[track directories and exit if a new file is added]' \
+ '-p[postpone first execution of the utility]' \
+ '-r[reload a persistent child process]' \
+ '(-):command name:_command_names -e' \
+ '*::arguments:_normal'
reply other threads:[~2017-02-07 16:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6377.1486485121@hydra.kiddle.eu \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).