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