Closed do-you-dare closed 6 years ago
Well this is embarrassing. I forgot I just hacked in my system path lolol. You could be able to fix this pretty easily by replacing /home/nixpulvis
with $HOME
using std::env
.
https://github.com/nixpulvis/oursh/blob/master/src/repl/history.rs#L71 https://github.com/nixpulvis/oursh/blob/master/src/repl/history.rs#L101
@dread-uo also, you could probably avoid this error with cargo run --no-default-features
for now.
Hello! I've downloaded the repository, and run
cargo run
. The error:I tried manually creating a
~/.oursh_history
file, but the error persists.System info: OS: Fedora 28
rustc
version: 1.31.0-nightly