dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit bb94a2dac574ab22417490991c7f1cbcfcec7849
parent 71458d9766e5811351be474773a943b4666b0a03
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 14 Dec 2019 07:50:36 -0500

ctags: Place tags file in workdir root

Diffstat:
M.local/lib/gitdir/hooks/ctags | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/lib/gitdir/hooks/ctags b/.local/lib/gitdir/hooks/ctags @@ -1,6 +1,6 @@ #!/bin/sh PATH="/usr/local/bin:$PATH" -dir="`git rev-parse --git-dir`" +dir="`git rev-parse --show-toplevel`" trap 'rm -f "$dir/$$.tags"' EXIT -git ls-files | ctags --tag-relative=yes --output-format=e-ctags -L - -f"$dir/$$.tags" +git ls-files | ctags --output-format=e-ctags -L - -f"$dir/$$.tags" mv "$dir/$$.tags" "$dir/tags"