https://github.com/begriffs/retags
Keep ctags up to date with minimal overhead
https://github.com/begriffs/retags
Last synced: 6 months ago
JSON representation
Keep ctags up to date with minimal overhead
- Host: GitHub
- URL: https://github.com/begriffs/retags
- Owner: begriffs
- Created: 2020-12-19T02:45:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-30T03:44:27.000Z (about 5 years ago)
- Last Synced: 2025-02-28T03:27:07.975Z (about 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Retags
Keep ctags up to date. Works with all versions of ctags (no `-R` support
required). Works on any POSIX OS, and requires just one dependency:
[entr](http://eradman.com/entrproject/).
### Usage
```sh
# from root of a C project
retags
```
The script updates `tags` whenever a .c, .h, .l, or .y file is changed, added,
or deleted.
### Installation
1. Install entr.
2. Copy the `retags` script to a directory somewhere in your PATH.