diff options
| author | Corey Kosak <kosak@users.noreply.github.com> | 2025-05-14 23:29:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-14 20:29:07 -0700 |
| commit | 593702c91cea63779fbc090500c4c2a1cc3d19ca (patch) | |
| tree | f35c2cc13f48ef6e0a666bc65b932db620929e70 /crates/atuin-client/src/import/mod.rs | |
| parent | chore(ci): Install toolchain that matches rust-toolchain.toml (#2759) (diff) | |
| download | atuin-593702c91cea63779fbc090500c4c2a1cc3d19ca.zip | |
fix: clarify that HISTFILE, if used, must be exported (#2758)
Diffstat (limited to 'crates/atuin-client/src/import/mod.rs')
| -rw-r--r-- | crates/atuin-client/src/import/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-client/src/import/mod.rs b/crates/atuin-client/src/import/mod.rs index 1be850f9..ddd8051b 100644 --- a/crates/atuin-client/src/import/mod.rs +++ b/crates/atuin-client/src/import/mod.rs @@ -103,7 +103,7 @@ fn is_file(p: PathBuf) -> Result<PathBuf> { if p.is_file() { Ok(p) } else { - bail!("Could not find history file {:?}. Try setting $HISTFILE", p) + bail!("Could not find history file {:?}. Try setting and exporting $HISTFILE", p) } } fn is_dir(p: PathBuf) -> Result<PathBuf> { @@ -111,7 +111,7 @@ fn is_dir(p: PathBuf) -> Result<PathBuf> { Ok(p) } else { bail!( - "Could not find history directory {:?}. Try setting $HISTFILE", + "Could not find history directory {:?}. Try setting and exporting $HISTFILE", p ) } |
