retag.rs
retag
is commandline tool and shell plugin that watches for file changes in a directory and incrementally rebuilds your tag file for the files which have changed.
Installation
To use this tool, Exuberant Ctags must be installed and working.
To have retag
automatically watch your Git projects when you CD into them, you can install this repository as a ZSH plugin.
If you have rustc
and cargo
installed, retag
will be compiled when first used.
For installation instructions on ZSH plugins, please see https://github.com/unixorn/awesome-zsh-plugins#installation.
Otherwise, you can install retag
via cargo install retag
(The ZSH functionality currently requires start-stop-daemon
for creating PIDfiles and daemonization. I'm planning to add support for that directly in the Rust code eventually, to remove the need for start-stop-daemon
and improve Windows support)
PRs adding support for other shells are highly welcome!