From 671b941b52775409a2052ca69fb1dd0419669c98 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Mon, 13 Apr 2020 20:41:52 +0200 Subject: [PATCH] Fix ninja target completions without the -C flag --- share/completions/ninja.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/ninja.fish b/share/completions/ninja.fish index 9bd558edd..706627deb 100644 --- a/share/completions/ninja.fish +++ b/share/completions/ninja.fish @@ -1,7 +1,7 @@ function __fish_ninja set -l saved_args $argv set -l dir . - if argparse -i C/dir= -- (commandline -opc) && set -ql _flag_C + if argparse -i C/dir= -- (commandline -opc) # Using eval to expand ~ and variables specified on the commandline. eval command ninja -C$_flag_C \$saved_args end