Got it to work with node by making SHELL="myscript" where myscript calls exec node -e $2
So now I can execute my javascript code in my editor by highlighting the desired lines and middle clicking them !
(well I'll probably need to work on the script a bit so the node shell loads with whatever the file is importing, but it's a start !)
=> More informations about this toot | View the thread | More toots from mathuin@bsd.network
text/gemini
This content has been proxied by September (3851b).