From 4c1d1bb218301ceadd137cb7cc53a5605fd87317 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 16 Nov 2006 23:22:51 +1000 Subject: [PATCH] Complete using known repos in darcs darcs-hash:20061116132251-ac50b-d62d1a1b08d21b57fa6f7e7ae105d9b77026fd39.gz --- share/completions/darcs.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/completions/darcs.fish b/share/completions/darcs.fish index 63a106afc..fb119a8a1 100644 --- a/share/completions/darcs.fish +++ b/share/completions/darcs.fish @@ -47,6 +47,8 @@ complete -c darcs -l repodir -d (N_ "Specify the repository directory in which t complete -c darcs -s v -l verbose -d (N_ "Verbose mode") complete -c darcs -l standard-verbosity -d (N_ "Neither verbose nor quiet output") +complete -c darcs -n 'not __fish_use_subcommand' -a "(cat _darcs/prefs/repos)" -d (N_ "Darcs repo") + # # Here follows a huge list of subcommand-specific completions. These are incomplete. #