Thanks , but same issue there.
multipass@snapcrafter:~/snap/temp/cheat$ which xdg-open
/usr/bin/xdg-open
multipass@snapcrafter:~/snap/temp/cheat$ cheat -e vim
Could not launch xdg-open
Maybe I am not clear enough about my problem: cheat does not need an EDITOR to display a cheat sheet this is done via printing the content of a cheatsheet file to stdout on the shell.
When I just want to see which find commands are there I run a cheat find
then the content of my find cheatsheet is printed to stdout as expected.
If I want to extend a cheat sheet letโs say for the find command I would run cheat -e find
which then should launch my editor of choice (for me it would be vim or nano) with the cheat sheet file for the find command loaded.
I just followed some interesting threads from your profile and saw this: a passthrough feature - is this a road worth looking into? And another one is this withelist - https://github.com/snapcore/snapd/blob/master/interfaces/apparmor/template.go#L106 - does this mean all utilities listed there are usable from within my snap?