usql
usql copied to clipboard
Support EDITOR with arguments
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
I have exactly the same issue, which I've solved by setting EDITOR to point to a short bash script that in turn invokes zed --wait --new "$@"