about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-02-10 13:56:26 +0100
committerOliver Kiddle <opk@zsh.org>2017-02-10 13:56:26 +0100
commit64c67581d2f4d131a3c1bebdeda6b70ec7da2610 (patch)
tree7077051355469d95357974a5519323e1ebc07b1d
parent0829c14cbdda6d6033db6bac9d0bab9852f2cea7 (diff)
downloadzsh-64c67581d2f4d131a3c1bebdeda6b70ec7da2610.tar.gz
zsh-64c67581d2f4d131a3c1bebdeda6b70ec7da2610.tar.xz
zsh-64c67581d2f4d131a3c1bebdeda6b70ec7da2610.zip
40512: new entr completion
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_entr9
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a1c62fa7..4a1cd197c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2017-02-10  Oliver Kiddle  <opk@zsh.org>
 
+	* 40512: Completion/Unix/Command/_entr: new entr completion
+
 	* unposted: Completion/Linux/Command/_lsusb: using a colon in
 	the tag name was not such a good idea
 
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'