come-maiz / ipfs-snap

IPFS packaged as a snap
MIT License
21 stars 6 forks source link

ipfs config edit #16

Closed NatoBoram closed 5 years ago

NatoBoram commented 5 years ago

ipfs config edit seems impossible to use because of snap's limitations.

EDITOR=/bin/nano

ipfs config edit
sh: 1: /bin/nano: not found
Error: exit status 127

A workaround would be to use $EDITOR $IPFS_PATH/config instead of ipfs config edit, but that's long to type and I don't want to have to remember that command. Any other idea?

come-maiz commented 5 years ago

This is by design in snaps. I guess the solution would be to add an interface to the snap that allows it to launch whatever binary is in $EDITOR. The place to talk about this is https://forum.snapcraft.io

Thanks for your report @NatoBoram.