1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

[snap] Improve OS integration (#1157)

Get back read-write access to `$HOME/.config/httpie` and `$HOME/.httpie`.
This commit is contained in:
Mickaël Schoentgen
2021-09-15 16:50:44 +02:00
committed by GitHub
parent 9dd0203bae
commit e2ba214ac0

View File

@@ -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