summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaƫl Schoentgen <contact@tiger-222.fr>2021-09-15 16:50:44 +0200
committerGitHub <noreply@github.com>2021-09-15 16:50:44 +0200
commite2ba214ac02905ab0ada72c582c9e95023c49496 (patch)
tree1984a8c60966f746c25c05a234f93b09443a57d7
parent9dd0203bae1725ee0a4fd08252c740af8e15e9e5 (diff)
[snap] Improve OS integration (#1157)
Get back read-write access to `$HOME/.config/httpie` and `$HOME/.httpie`.
-rw-r--r--snapcraft.yaml17
1 files changed, 11 insertions, 6 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 54fc4c7c..ef72a810 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -83,17 +83,22 @@ parts:
echo "Copying extra files ..."
cp $SNAPCRAFT_PART_SRC/extras/httpie-completion.bash $SNAPCRAFT_PRIME/bin/
-# plugs:
-# dot-config-httpie:
-# interface: personal-files
-# write:
-# - $HOME/.config/httpie
+plugs:
+ dot-config-httpie:
+ interface: personal-files
+ write:
+ - $HOME/.config/httpie
+ dot-httpie:
+ interface: personal-files
+ write:
+ - $HOME/.httpie
apps:
http:
command: bin/http
plugs: &plugs
- # - dot-config-httpie
+ - dot-config-httpie
+ - dot-httpie
- home
- network
- removable-media