2 ms·
I have an /etc/htoprc so I can maintain it with the same tool that maintains my other /etc config files. Unfortunately htop also copies this over to ~/.config/h
by Arnavion 6y ago
I have an /etc/htoprc so I can maintain it with the same tool that maintains my other /etc config files. Unfortunately htop also copies this over to ~/.config/htop/htoprc on every startup even if I don't change any configs, and then it gets out of sync if I ever update /etc/htoprc.
So I have a /usr/local/bin/htop that does
#!/bin/bash
rm -rf ~/.config/htop
/usr/bin/htop