Skip to content

Commit 517340f

Browse files
env: use full path to invoke nef
1 parent 8ad8344 commit 517340f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ zip: build
5656
zsh:
5757
@mkdir -p ~/.zsh/completion
5858
@mkdir -p ~/.oh-my-zsh/completions
59-
@nef --generate-completion-script zsh > ~/.oh-my-zsh/completions/_nef
60-
@nef --generate-completion-script zsh > ~/.zsh/completion/nef.zsh
59+
@$(PREFIX_BIN)/nef --generate-completion-script zsh > ~/.oh-my-zsh/completions/_nef
60+
@$(PREFIX_BIN)/nef --generate-completion-script zsh > ~/.zsh/completion/nef.zsh
6161
$(shell if [[ ! -f ~/.zshrc ]] || [[ ! `grep "~/.zsh/completion" ~/.zshrc` ]]; then echo -e '\n# Enable Zsh completions\nfpath=(~/.zsh/completion $$fpath)\nautoload -U compinit\ncompinit\n' >> ~/.zshrc; fi)
6262

6363
.PHONY: bash
6464
bash:
6565
@mkdir -p ~/.bash_completions
66-
@nef --generate-completion-script bash > ~/.bash_completions/nef.bash
66+
@$(PREFIX_BIN)/nef --generate-completion-script bash > ~/.bash_completions/nef.bash
6767
$(shell if [[ ! -f ~/.bashrc ]] || [[ ! `grep "nef.bash" ~/.bashrc` ]]; then echo "source ~/.bash_completions/nef.bash" >> ~/.bashrc; fi)

0 commit comments

Comments
 (0)