Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: completion function for entr
- X-seq: zsh-workers 40512
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: PATCH: completion function for entr
- Date: Tue, 07 Feb 2017 17:32:01 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1486485122; bh=pK5etHul274zl7EsaiCwfa7GbjXn/5fIDWzFZKl1US4=; h=From:To:Subject:Date:From:Subject; b=IpH+S/yA36scWnMnOZNfO89nH9nAAhp7+x06pNtUZMB5uJu27irDvb69WnccxnlYGh8T+H2RA3xkLnoVUWMnHgcX7QFrnysB9AX3haWOwGouyfqFodibKTTlgs9VfDr4FK7N96bgYki1Tv7au423ZUH4ilS+gWnU1QJKLFKy3Omve2aJE0oKSbPvUp9x8m0m5slEYCjDvf2rczVOZFRJ0RyP1ofuU4AsiMCePJ0ZOnHC9rYIb59EilicOCk0jIbHqa8X+XP3EDws6MWJDMSiLcWcjg4gmiLd4tEPIzcqpQcF0rN3gopW5wU4YnOenGakn1LzNvpoeRZxCJt3xM5d9g==
- 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
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'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author