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 ..."
|
echo "Copying extra files ..."
|
||||||
cp $SNAPCRAFT_PART_SRC/extras/httpie-completion.bash $SNAPCRAFT_PRIME/bin/
|
cp $SNAPCRAFT_PART_SRC/extras/httpie-completion.bash $SNAPCRAFT_PRIME/bin/
|
||||||
|
|
||||||
# plugs:
|
plugs:
|
||||||
# dot-config-httpie:
|
dot-config-httpie:
|
||||||
# interface: personal-files
|
interface: personal-files
|
||||||
# write:
|
write:
|
||||||
# - $HOME/.config/httpie
|
- $HOME/.config/httpie
|
||||||
|
dot-httpie:
|
||||||
|
interface: personal-files
|
||||||
|
write:
|
||||||
|
- $HOME/.httpie
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
http:
|
http:
|
||||||
command: bin/http
|
command: bin/http
|
||||||
plugs: &plugs
|
plugs: &plugs
|
||||||
# - dot-config-httpie
|
- dot-config-httpie
|
||||||
|
- dot-httpie
|
||||||
- home
|
- home
|
||||||
- network
|
- network
|
||||||
- removable-media
|
- removable-media
|
||||||
|
Loading…
Reference in New Issue
Block a user