From 3ae23b8996c08e3f1229b893e7308a56c1a99221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Br=C3=B8nner?= Date: Tue, 27 Dec 2016 07:46:49 +0100 Subject: [PATCH] udisksctl: Add some notes about the upstream bash completions --- src/_udisksctl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/_udisksctl b/src/_udisksctl index fb7c83e..267c4af 100644 --- a/src/_udisksctl +++ b/src/_udisksctl @@ -39,7 +39,15 @@ # # [1] https://lists.freedesktop.org/archives/devkit-devel/2014-February/001554.html # - +# ------------------------------------------------------------------------------ +# Notes +# ----- +# +# udisksctl actually provide built-in support for completion: It accepts an +# special command 'complete' that returns completeions. That is what drives the +# upstream bash completion. In the future one might condsider rewriting using +# that. (but not sure how straight forward it would be to provide descriptions?) +# _paths() { local -a _path_list