From 1e58e00734bfd34e6e60e2462a2a6c167baba133 Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Thu, 16 Aug 2018 19:26:29 +0800 Subject: [PATCH] hg completion: complete directories for --cwd --- share/completions/hg.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/hg.fish b/share/completions/hg.fish index 6227aa8f5..de772ef26 100644 --- a/share/completions/hg.fish +++ b/share/completions/hg.fish @@ -380,7 +380,7 @@ end # global options complete -c hg -s R -l repository -x -d "repository root directory or name of overlay bundle file" -complete -c hg -l cwd -x -d "change working directory" +complete -c hg -l cwd -x -a "(__fish_complete_directories (commandline -ct))" -d "change working directory" complete -c hg -s y -l noninteractive -d "do not prompt, automatically pick the first choice for all prompts" complete -c hg -s q -l quiet -d "suppress output" complete -c hg -s v -l verbose -d "enable additional output"