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

[feature] Split environment variable used for edits #61

Closed
xPMo opened this issue Jul 14, 2021 · 1 comment
Closed

[feature] Split environment variable used for edits #61

xPMo opened this issue Jul 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@xPMo
Copy link
Contributor

xPMo commented Jul 14, 2021

I prefer using VISUAL='vim --remote-wait-silent', so that editing files with $VISUAL happen in my existing session. However, rbw does not split environment variables to run commands, resulting in:

$ rbw edit DEMO
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/edit.rs:44:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@xPMo xPMo changed the title Split environment variable used for edits [feature] Split environment variable used for edits Jul 14, 2021
@doy doy added the bug Something isn't working label Aug 6, 2021
@doy
Copy link
Owner

doy commented Oct 29, 2021

fixed in 00e90e7

@doy doy closed this as completed Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants