mirror of
https://github.com/httpie/cli.git
synced 2024-11-22 15:53:13 +01:00
[snap] Improve OS integration (#1157)
Get back read-write access to `$HOME/.config/httpie` and `$HOME/.httpie`.
This commit is contained in:
parent
9dd0203bae
commit
e2ba214ac0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user