From 923e486a52a8c7441118a3e1ebeb82380fbf2c86 Mon Sep 17 00:00:00 2001 From: o2sh Date: Fri, 18 Mar 2022 22:49:10 +0100 Subject: [PATCH] map HOME to SNAP_REAL_HOME, #588 --- snap/snapcraft.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 73ce3d1cf..41379eb62 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -27,11 +27,13 @@ plugs: gitconfig: interface: personal-files read: - - $SNAP_REAL_HOME/.gitconfig - - $SNAP_REAL_HOME/.config/git/config + - $HOME/.gitconfig + - $HOME/.config/git/config apps: onefetch: + environment: + HOME: $SNAP_REAL_HOME command: bin/onefetch plugs: - home