zsh-workers
 help / color / mirror / code / Atom feed
From: dana <dana@dana.is>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: [PATCH] Completion: Add _e2label
Date: Mon, 3 Sep 2018 22:13:00 -0500	[thread overview]
Message-ID: <E2E5AD48-8C0B-45A3-A3C1-4EEBEB953B90@dana.is> (raw)

Kind of bare-bones, but _tune2fs isn't very fancy either, so w/e

dana


diff --git a/Completion/Linux/Command/_e2label b/Completion/Linux/Command/_e2label
new file mode 100644
index 000000000..2545f72af
--- /dev/null
+++ b/Completion/Linux/Command/_e2label
@@ -0,0 +1,3 @@
+#compdef e2label
+
+_arguments '1:device:_files' '2::volume label:(/dev/disk/by-label/*(N:t))'


                 reply	other threads:[~2018-09-04  3:13 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=E2E5AD48-8C0B-45A3-A3C1-4EEBEB953B90@dana.is \
    --to=dana@dana.is \
    --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).