Small tool which makes config files with tons of comments acutally readable.
- Clone this repo
- Navigate to it in your terminal
- Copy it into your path, renaming it without the
.sh
extension.- Example:
cp hred.sh /usr/local/bin/hred
- Example:
- Make the file executable.
- Example:
chmod +x hred
- Example:
Simply use hred <file>
and all commented lines will be removed, spitting out text representing the active configuration.
hred ~/.zshrc
You can also pipe output to hred
.
cat ~/.zshrc | hred