aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile8
-rw-r--r--src/adjbacklight.auto-completion2
2 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a4967f5..3bfbdbb 100644
--- a/Makefile
+++ b/Makefile
@@ -95,13 +95,13 @@ bin/%.ps: doc/info/%.texinfo
shell: bash fish zsh
.PHONY: bash
-bash: adjbacklight.bash-completion
+bash: bin/adjbacklight.bash-completion
.PHONY: fish
-fish: adjbacklight.fish-completion
+fish: bin/adjbacklight.fish-completion
.PHONY: zsh
-zsh: adjbacklight.zsh-completion
+zsh: bin/adjbacklight.zsh-completion
obj/adjbacklight.auto-completion: src/adjbacklight.auto-completion
@mkdir -p obj
@@ -184,7 +184,7 @@ install-fish: bin/adjbacklight.fish-completion
.PHONY: install-zsh
install-zsh: bin/adjbacklight.zsh-completion
- install -dm755 -- "$(DESTDIR)$(DATADIR)/zsh/site-functions)"
+ install -dm755 -- "$(DESTDIR)$(DATADIR)/zsh/site-functions"
install -m644 "$<" -- "$(DESTDIR)$(DATADIR)/zsh/site-functions/_$(COMMAND)"
diff --git a/src/adjbacklight.auto-completion b/src/adjbacklight.auto-completion
index aca9796..a06884f 100644
--- a/src/adjbacklight.auto-completion
+++ b/src/adjbacklight.auto-completion
@@ -1,6 +1,4 @@
(adjbacklight
- (default (arg '(+|-|=)LEVEL[%|%%]') (files -0) (description 'Adjust backlight'))
-
(unargumented (options -c --copyright --copying) (complete --copying)
(desc 'Display copyright information'))