-
-
Notifications
You must be signed in to change notification settings - Fork 579
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
Atuin throws errors when inside a deleted directory #195
Comments
Interesting the panic isn't tracking the caller, I wonder what version of rust |
The error occurs within the https://github.com/ellie/atuin/blob/main/atuin-client/src/settings.rs#L137 |
Since I don't think it makes sense for us to support relative paths for a config file, I think we could read in the file contents ourselves through our absolute path, and provide the string instead: https://docs.rs/config/0.11.0/config/struct.File.html#method.from_str |
I also realise the panic is thrown outside of main, so I'm gonna make a separate PR that makes better use of eyre contexts. That should help these bug reports be more insightful |
Sounds awesome, thanks! |
Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix!
Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix!
Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix!
* Update config-rs Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix! * Format
Steps to reproduce (on zsh):
Atuin throws this error for every command run:
The text was updated successfully, but these errors were encountered: