diff options
author | Urbain Vaes <urbain@vaes.uk> | 2020-10-04 19:13:49 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2020-10-04 19:13:49 +0100 |
commit | 3a3321af173a73b158c606f0e2c3c3e0dece2cb9 (patch) | |
tree | 00075dc12714c8b128e2327542526ac0676820fc /git/.git_template | |
parent | ac7ba6d8aa7eb6ef384f10b7798bd01308beb970 (diff) | |
parent | 2c5e2b7a6667fd4e726bba3e50f9ccf6ce13bab3 (diff) |
Merge branch 'master' of https://github.com/urbainvaes/dotfiles
Diffstat (limited to 'git/.git_template')
-rwxr-xr-x | git/.git_template/hooks/ctags | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git/.git_template/hooks/ctags b/git/.git_template/hooks/ctags index a52759d..fe27a19 100755 --- a/git/.git_template/hooks/ctags +++ b/git/.git_template/hooks/ctags @@ -1,7 +1,6 @@ #!/bin/sh set -e PATH="/usr/local/bin:$PATH" -dir="$(git rev-parse --git-dir)" trap 'rm -f "$dir/$$.tags"' EXIT -git ls-files | ctags --tag-relative=yes -L - -f"$dir/$$.tags" --languages=-javascript,sql -mv "$dir/$$.tags" "$dir/tags" +git ls-files | ctags --tag-relative=yes -L - -f"$$.tags" --languages=-javascript,sql +mv "$$.tags" "tags" |