Browse Source

add snapcraft plugs to read gitconfig files from HOME, #588

pull/590/head
o2sh 4 years ago
parent
commit
d1eb649415
  1. 12
      snap/snapcraft.yaml

12
snap/snapcraft.yaml

@ -20,10 +20,15 @@ parts: @@ -20,10 +20,15 @@ parts:
snapcraftctl set-version $(git describe --abbrev=0 --tags)
plugs:
config-git:
system-gitconfig:
interface: system-files
read:
- /etc/gitconfig
- /etc/gitconfig
global-gitconfig:
interface: personal-files
read:
- $HOME/.gitconfig
- $HOME/.config/git/config
apps:
onefetch:
@ -31,4 +36,5 @@ apps: @@ -31,4 +36,5 @@ apps:
plugs:
- home
- removable-media
- config-git
- system-gitconfig
- global-gitconfig

Loading…
Cancel
Save