DeterminateSystems / riff

Riff automatically provides external dependencies for Rust projects, with support for other languages coming soon.
https://riff.sh
Mozilla Public License 2.0
486 stars 13 forks source link

pass through $SHELL #205

Closed figsoda closed 1 year ago

figsoda commented 1 year ago

https://github.com/NixOS/nix/commit/27be54ca533933db8c3e0cde4b213abf10dd5237

this fixes the issue where my prompt (fish + starship) gets jumbled up if I riff shell in a riff shell

before:

~/riff on  main 
❯ result/bin/riff shell
✓ 🦀 rust: cargo, openssl, pkg-config, rustc, rustfmt

~/riff on  main via  impure (riff-shell) 
❯ result/bin/riff shell
✓ 🦀 rust: cargo, openssl, pkg-config, rustc, rustfmt

\[\]~/riff\[\] on \[\] \[\]\[\]main\[\] via \[\] \[\]\[\]impure\[\]\[\] (\[\]\[\]riff-shell\[\]\[\])\[\] 
\[\]❯\[\] 

after:

~/riff on  shell 
❯ result/bin/riff shell
✓ 🦀 rust: cargo, openssl, pkg-config, rustc, rustfmt

~/riff on  shell via  impure (riff-shell) 
❯ result/bin/riff shell
✓ 🦀 rust: cargo, openssl, pkg-config, rustc, rustfmt

~/riff on  shell via  impure (riff-shell) 
❯