Sha256: d323366f0b4f897855be95e7971c5dc86291047bf52c087ea3f3b983b7033483
Contents?: true
Size: 602 Bytes
Versions: 18
Compression:
Stored size: 602 Bytes
Contents
#!/bin/sh # Indexes all tags for this repository for easy navigation with Vim, storing the # file in <repo>/.git/tags. If you're using Fugitive.vim, you'll automatically # have access to the tags file; otherwise you'll have to modify your `tags` # option in your vimrc to search the generated file. set -e trap "rm -f .git/tags.$$" EXIT err_file=.git/ctags.err if ctags --tag-relative -Rf.git/tags.$$ --exclude=.git "$@" 2>${err_file}; then mv .git/tags.$$ .git/tags [ -e ${err_file} ] && rm -f ${err_file} else # Ignore STDERR unless `ctags` returned a non-zero exit code cat ${err_file} fi
Version data entries
18 entries across 18 versions & 1 rubygems