xo / usql

Universal command-line interface for SQL databases
MIT License
8.92k stars 351 forks source link

Support EDITOR with arguments #480

Open bersace opened 1 month ago

bersace commented 1 month ago

Hello,

Using zed --wait as EDITOR triggers the following error:

error: exec: "zed --wait": executable file not found in $PATH

I expect usql to lex EDITOR as a shell command or use exec.Command().

Regards, Étienne