Skip to content

Commit 923e486

Browse files
committed
map HOME to SNAP_REAL_HOME, #588
1 parent 9aee3c4 commit 923e486

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

snap/snapcraft.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ plugs:
2727
gitconfig:
2828
interface: personal-files
2929
read:
30-
- $SNAP_REAL_HOME/.gitconfig
31-
- $SNAP_REAL_HOME/.config/git/config
30+
- $HOME/.gitconfig
31+
- $HOME/.config/git/config
3232

3333
apps:
3434
onefetch:
35+
environment:
36+
HOME: $SNAP_REAL_HOME
3537
command: bin/onefetch
3638
plugs:
3739
- home

0 commit comments

Comments
 (0)