mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
fixup! Fix GNU Make completions when specifying a directory with -C
Whoops!
This commit is contained in:
parent
79566bc325
commit
e49b4df562
|
@ -11,7 +11,6 @@ function __fish_print_make_targets --argument-names directory file
|
|||
|
||||
if make --version 2>/dev/null | string match -q 'GNU*'
|
||||
# https://stackoverflow.com/a/26339924
|
||||
make $makeflags -pRrq : 2>/dev/null > log.mk
|
||||
make $makeflags -pRrq : 2>/dev/null |
|
||||
awk -F: '/^# Files/,/^# Finished Make data base/ {
|
||||
if ($1 == "# Not a target") skip = 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user