Onefetch requires access to the gitconfig file if it exists. It would be nice to allow autoconnect of system-files and personal-files to allow this access (GitHub issue).
Does onefetch also require access to ~/.git/config as well? Similar snaps usually require this too and this can be achieved in a similar manner using personal-files, e.g.:
Hi @o2sh, +1 from me for auto-connect of system-files for read access to /etc/gitconfig and personal-files for read access to $HOME/.gitconfig and $HOME/.config/git/config.
Could you please update the names of these plugs to etc-gitconfig and gitconfig (as in Alex’s example above), so that the interface names are consistent with other similar snaps? See the icdiff snap, for a similar example (https://snapcraft.io/icdiff).