I use fd to find pacnew
files:
fd pacnew /etc
Then I edit them in a text editor.
Whenever I change a file in /etc
, I always add a comment documenting the default value and the fact it was I who changed it. This makes it easy to remember what config I changed and why, and it’s trivial to make the same change in the pacnew
file.