diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-27 00:49:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-27 00:50:40 +0100 |
commit | 2ef1a5575ada9afe967ff728108415d0bd9ea4e1 (patch) | |
tree | 7f5e89a1310fa3479af63efc58d278136cabdd91 | |
parent | typo (diff) | |
download | adjbacklight-7.3.tar.gz adjbacklight-7.3.tar.bz2 adjbacklight-7.3.tar.xz |
fix auto-completion7.3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | src/adjbacklight.auto-completion | 2 |
2 files changed, 4 insertions, 6 deletions
@@ -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')) |