diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2025-05-14 20:34:13 -0700 |
|---|---|---|
| committer | Michelle Tilley <michelle@michelletilley.net> | 2025-05-14 20:34:13 -0700 |
| commit | f8145e670938eef1706adadde0dc8c8f58a5e35a (patch) | |
| tree | 97e74aec0c09846686d81587f47d3ab2931c633f /crates/atuin-client/src | |
| parent | fix: clarify that HISTFILE, if used, must be exported (#2758) (diff) | |
| download | atuin-f8145e670938eef1706adadde0dc8c8f58a5e35a.zip | |
Formatting
Diffstat (limited to 'crates/atuin-client/src')
| -rw-r--r-- | crates/atuin-client/src/import/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/atuin-client/src/import/mod.rs b/crates/atuin-client/src/import/mod.rs index ddd8051b..1c72da3b 100644 --- a/crates/atuin-client/src/import/mod.rs +++ b/crates/atuin-client/src/import/mod.rs @@ -103,7 +103,10 @@ fn is_file(p: PathBuf) -> Result<PathBuf> { if p.is_file() { Ok(p) } else { - bail!("Could not find history file {:?}. Try setting and exporting $HISTFILE", p) + bail!( + "Could not find history file {:?}. Try setting and exporting $HISTFILE", + p + ) } } fn is_dir(p: PathBuf) -> Result<PathBuf> { |
