Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support EDITOR with arguments #480

Open
bersace opened this issue Sep 3, 2024 · 1 comment
Open

Support EDITOR with arguments #480

bersace opened this issue Sep 3, 2024 · 1 comment

Comments

@bersace
Copy link

bersace commented Sep 3, 2024

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

@tomafro
Copy link

tomafro commented Nov 15, 2024

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 "$@"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants