hg completion: complete directories for --cwd

This commit is contained in:
Anton Shestakov 2018-08-16 19:26:29 +08:00
parent b3a00c5389
commit 1e58e00734

View file

@ -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"