Skip to content

Commit ebbec9c

Browse files
authored
Merge pull request #8723 from oech3/compl
Add missing completions
2 parents 50d2dd5 + 8cd5430 commit ebbec9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/CICD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ jobs:
323323
# Check that the manpage is present
324324
test -f /tmp/usr/local/share/man/man1/md5sum.1
325325
# Check that the completion is present
326-
test -f /tmp/usr/local/share/zsh/site-functions/_install
326+
test -f /tmp/usr/local/share/zsh/site-functions/_b2sum
327327
test -f /tmp/usr/local/share/bash-completion/completions/head
328328
test -f /tmp/usr/local/share/fish/vendor_completions.d/cat.fish
329329
env:

GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ endif
414414
ifeq ($(COMPLETIONS),y)
415415
completions: build-coreutils
416416
mkdir -p $(BUILDDIR)/completions/zsh $(BUILDDIR)/completions/bash $(BUILDDIR)/completions/fish
417-
$(foreach prog, $(INSTALLEES), \
417+
$(foreach prog, $(INSTALLEES) $(HASHSUM_PROGS) , \
418418
$(BUILDDIR)/coreutils completion $(prog) zsh > $(BUILDDIR)/completions/zsh/_$(PROG_PREFIX)$(prog) $(newline) \
419419
$(BUILDDIR)/coreutils completion $(prog) bash > $(BUILDDIR)/completions/bash/$(PROG_PREFIX)$(prog) $(newline) \
420420
$(BUILDDIR)/coreutils completion $(prog) fish > $(BUILDDIR)/completions/fish/$(PROG_PREFIX)$(prog).fish $(newline) \
@@ -424,7 +424,7 @@ install-completions: completions
424424
mkdir -p $(DESTDIR)$(DATAROOTDIR)/zsh/site-functions
425425
mkdir -p $(DESTDIR)$(DATAROOTDIR)/bash-completion/completions
426426
mkdir -p $(DESTDIR)$(DATAROOTDIR)/fish/vendor_completions.d
427-
$(foreach prog, $(INSTALLEES), \
427+
$(foreach prog, $(INSTALLEES) $(HASHSUM_PROGS) , \
428428
$(INSTALL) -m 644 $(BUILDDIR)/completions/zsh/_$(PROG_PREFIX)$(prog) $(DESTDIR)$(DATAROOTDIR)/zsh/site-functions/ $(newline) \
429429
$(INSTALL) -m 644 $(BUILDDIR)/completions/bash/$(PROG_PREFIX)$(prog) $(DESTDIR)$(DATAROOTDIR)/bash-completion/completions/ $(newline) \
430430
$(INSTALL) -m 644 $(BUILDDIR)/completions/fish/$(PROG_PREFIX)$(prog).fish $(DESTDIR)$(DATAROOTDIR)/fish/vendor_completions.d/ $(newline) \

0 commit comments

Comments
 (0)