commit 31f30496c927ee4db533ae8c4e1e083340439f7e parent 6d5cab7dc10d03335bd66f1e53b85d6bbd805ed5 Author: Alex Balgavy <alex@balgavy.eu> Date: Fri, 12 May 2023 16:05:31 +0200 Fix ctags git template Diffstat:
M | git/git_template/hooks/ctags | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git/git_template/hooks/ctags b/git/git_template/hooks/ctags @@ -5,10 +5,10 @@ dir="$(git rev-parse --git-dir)" trap 'rm -f "$dir/$$.tags"' EXIT # vim ctags git ls-files | \ - ctags --tag-relative=yes -L --links=yes - -f "$dir/$$.tags" + ctags --tag-relative=yes -L - --links=yes -f "$dir/$$.tags" mv "$dir/$$.tags" "$dir/tags" # emacs etags git ls-files | \ - ctags -e --tag-relative=yes -L --links=yes - -f "$dir/$$.tags" + ctags -e --tag-relative=yes -L - --links=yes -f "$dir/$$.tags" mv "$dir/$$.tags" "$dir/etags"