Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Completion: Add _e2label
- X-seq: zsh-workers 43372
- From: dana <dana@xxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [PATCH] Completion: Add _e2label
- Date: Mon, 3 Sep 2018 22:13:00 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Tg+ZErjvfh6jWDqcJSRNUlUn4C/SydEfmJuNC5otvwI=; b=lKk0haTYW77j54Ee6kcaWSJEPMnC9ZFBlGwK5EJvj7ZrJv/KvTrAbcfYo6Dhl0KAFD TjSrVirvpqxjVL/NhdlK0FkDFULygJCa9z2zcmXyC83hk9+ndZekSXcy90alhXpn3QjF 04vIVLYXiAjJK7a8OmskusvTcpnxPVkB809l1xapCVhZe1FrF1zjSkbrI9TgDceOld8J WL+5TL3vNhkq5ScNKZhROuMOEE58K2BX9PX7HxAdd+ZPT8h+BC/cHWRY/cfuFSaOm+F0 r9iBVSv0F7NtpZiBlwFW+Eq7Lmp3/l27gLuOywSKnVlUCaeJHfd6Ld3qofP3haRx91/N trCg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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))'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author