doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
611 stars 84 forks source link

[feature] Split environment variable used for edits #61

Closed xPMo closed 2 years ago

xPMo commented 3 years ago

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
doy commented 2 years ago

fixed in 00e90e7e7d3bdc2e35fea0fab2dc704326831bad