Skip to content

Commit

Permalink
install: display absolute path of zsh completion script
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Jul 15, 2017
1 parent 423c49a commit 1575906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ BINS = $(wildcard bin/git-*)
MANS = $(wildcard man/git-*.md)
MAN_HTML = $(MANS:.md=.html)
MAN_PAGES = $(MANS:.md=.1)
CODE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# Libraries used by all commands
LIB = "helper/reset-env" "helper/git-extra-utility"

Expand Down Expand Up @@ -54,7 +55,8 @@ install:
@mkdir -p $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
cp -f etc/bash_completion.sh $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/git-extras
@echo ""
@echo "If you are a zsh user, you may want to 'source etc/git-extras-completion.zsh' and put this line into ~/.zshrc to enable zsh completion"
@echo "If you are a zsh user, you may want to 'source $(CODE_DIR)/etc/git-extras-completion.zsh'" \
"and put this line into ~/.zshrc to enable zsh completion"

man/%.html: man/%.md
ronn \
Expand Down

0 comments on commit 1575906

Please sign in to comment.