Sha256: 7b79252184c9472fd2c11c956632a07a7a21a1ea0612e6f22ba6aa490da70e3f
Contents?: true
Size: 639 Bytes
Versions: 25
Compression:
Stored size: 639 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 ctags --version &> /dev/null || exit 0 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 ${err_file} else # Ignore STDERR unless `ctags` returned a non-zero exit code cat ${err_file} fi
Version data entries
25 entries across 25 versions & 1 rubygems