From b71f1e6aac3462d6f39d91e36d51c7eec5bea84e Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 28 Nov 2022 21:19:16 -0800 Subject: [PATCH] update git ctags PATH --- .git_templates/hooks/ctags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.git_templates/hooks/ctags b/.git_templates/hooks/ctags index 6f09de9..de36ef9 100755 --- a/.git_templates/hooks/ctags +++ b/.git_templates/hooks/ctags @@ -3,7 +3,7 @@ # Overrides for --exclude and --languages can be put into .ctags.d/*.ctags set -e -PATH="/usr/local/bin:$PATH" +PATH="/opt/homebrew/bin:$PATH" trap 'rm -f "$$.tags"' EXIT git ls-files | ctags --tag-relative -L - -f"$$.tags" mv "$$.tags" "tags"