File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ BINS = $(wildcard bin/git-*)
66MANS = $(wildcard man/git-* .md)
77MAN_HTML = $(MANS:.md=.html )
88MAN_PAGES = $(MANS:.md=.1 )
9+ CODE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST ) ) ) )
910# Libraries used by all commands
1011LIB = "helper/reset-env" "helper/git-extra-utility"
1112
@@ -54,7 +55,8 @@ install:
5455 @mkdir -p $(DESTDIR )$(SYSCONFDIR ) /bash_completion.d
5556 cp -f etc/bash_completion.sh $(DESTDIR )$(SYSCONFDIR ) /bash_completion.d/git-extras
5657 @echo " "
57- @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"
58+ @echo " If you are a zsh user, you may want to 'source $( CODE_DIR) /etc/git-extras-completion.zsh'" \
59+ " and put this line into ~/.zshrc to enable zsh completion"
5860
5961man/% .html : man/% .md
6062 ronn \
You can’t perform that action at this time.
0 commit comments