Skip to content

Commit

Permalink
map HOME to SNAP_REAL_HOME, #588
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Mar 18, 2022
1 parent 9aee3c4 commit 923e486
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 923e486

Please sign in to comment.