mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
fixup! Fix GNU Make completions when specifying a directory with -C
Whoops!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user