[darcs-devel] [patch1533] bash_completion: better support for multi-level commands
Gian Piero Carrubba
bugs at darcs.net
Thu Mar 9 09:24:11 UTC 2017
New submission from Gian Piero Carrubba <gpiero at rm-rf.it>:
This should give more appropriate results when completing multi-level
commands. It's a bit of a hack but should be good enough most of the times.
I.e., currently:
$ darcs show repo <TAB>
--help contents files patch-index repo
authors dependencies index pristine tags
with this completion:
$ darcs show repo <TAB>
--debug --no-posthook --run-posthook
--debug-http --no-prehook --run-prehook
--disable --posthook --standard-verbosity
--files --prehook --timings
--help --prompt-posthook --verbose
--list-options --prompt-prehook --xml-output
--no-cache --quiet
--no-files --repodir
Also supports 'help' and 'setpref' once (if) issue2525 is solved.
1 patch for repository valentina:var/repos/darcs/screened:
patch dd660f6b34d4e4775db2984c55f1a5568a482adc
Author: Gian Piero Carrubba <gpiero at rm-rf.it>
Date: Thu Mar 9 12:04:53 CET 2017
* bash_completion: better support for multi-level commands
----------
files: bash_completion_-better-support-for-multi_level-commands.dpatch, patch-preview.txt
messages: 19357
nosy: gpiero
status: needs-screening
title: bash_completion: better support for multi-level commands
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1533>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 2102 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20170309/fe375130/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash_completion_-better-support-for-multi_level-commands.dpatch
Type: application/x-darcs-patch
Size: 2305 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20170309/fe375130/attachment-0001.bin>
More information about the darcs-devel
mailing list