]> git.zndr.dk Git - dotfiles.git/commitdiff
Add git ctags,cscope,gtags
authorJannik Zander <59698@grundfos.com>
Sat, 14 Jul 2018 09:40:24 +0000 (11:40 +0200)
committerJannik Zander <59698@grundfos.com>
Sat, 14 Jul 2018 09:40:24 +0000 (11:40 +0200)
.config/git/config

index bd71d62358078371516d78465c6a43e3c950484d..bddcd8f556d762301315e432ca0bce38a926f25d 100644 (file)
@@ -94,9 +94,9 @@
        # List contributors with number of commits
        contributors = shortlog --summary --numbered
 
-#      ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags"
-#      gtags = "!sh -c '[ -f .git/hooks/gtags ] || git init; .git/hooks/gtags' git-gtags"
-#      cscope = "!sh -c '[ -f .git/hooks/cscope ] || git init; .git/hooks/cscope' git-cscope"
+       ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags"
+       gtags = "!sh -c '[ -f .git/hooks/gtags ] || git init; .git/hooks/gtags' git-gtags"
+       cscope = "!sh -c '[ -f .git/hooks/cscope ] || git init; .git/hooks/cscope' git-cscope"
 
 [include]
        path = ~/.config/git/config.local