mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-26 02:04:49 +01:00
* Improve error message for issue #850. * Applied cargo fmt, doh.
This commit is contained in:
parent
c05d285042
commit
64671a17c1
@ -32,7 +32,11 @@ fn default_histpath() -> Result<PathBuf> {
|
||||
break Ok(histpath);
|
||||
}
|
||||
}
|
||||
None => break Err(eyre!("Could not find history file. Try setting $HISTFILE")),
|
||||
None => {
|
||||
break Err(eyre!(
|
||||
"Could not find history file. Try setting and exporting $HISTFILE"
|
||||
))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user