Skip to content
New issue

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

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

Already on GitHub? Sign in 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 "$@"

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

No branches or pull requests

2 participants