System-files and personal-files request for onefetch

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.:

plugs:
  etc-gitconfig:
    interface: system-files
    read:
    - /etc/gitconfig
  gitconfig:
    interface: personal-files
    read:
    - $HOME/.gitconfig
    - $HOME/.config/git/config

+1 to me for both these accesses since onefetch is a git tool and so requires access to these to function.

1 Like