feat: zsh completions

This commit is contained in:
2026-04-01 12:34:54 +02:00
parent 00f4bbb5f0
commit b29a5274e1
5 changed files with 31 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
ZSHCOMPDIR ?= $(PREFIX)/share/zsh/site-functions
all: kewt
@@ -9,9 +10,12 @@ kewt:
install: kewt
install -d $(DESTDIR)$(BINDIR)
install -m 755 kewt $(DESTDIR)$(BINDIR)/kewt
install -d $(DESTDIR)$(ZSHCOMPDIR)
install -m 644 packaging/zsh/_kewt $(DESTDIR)$(ZSHCOMPDIR)/_kewt
uninstall:
rm -f $(DESTDIR)$(BINDIR)/kewt
rm -f $(DESTDIR)$(ZSHCOMPDIR)/_kewt
clean:
rm -f kewt