diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-12-13 16:51:29 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-12-13 16:51:29 +0100 |
commit | 77cd142cbfceda8d4fe644acff46b7f8a3463e9e (patch) | |
tree | bb53483c102c5728b1ccbc5add11b1d09a4b991c /git/.git_template/hooks | |
parent | 264b48ff259714217ed0c056a99d038dde872249 (diff) |
Add zsh aliases
Diffstat (limited to 'git/.git_template/hooks')
-rwxr-xr-x | git/.git_template/hooks/ctags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/.git_template/hooks/ctags b/git/.git_template/hooks/ctags index 6fc53b6..a52759d 100755 --- a/git/.git_template/hooks/ctags +++ b/git/.git_template/hooks/ctags @@ -3,5 +3,5 @@ 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 -L - -f"$dir/$$.tags" --languages=-javascript,sql +git ls-files | ctags --tag-relative=yes -L - -f"$dir/$$.tags" --languages=-javascript,sql mv "$dir/$$.tags" "$dir/tags" |