mirror of
https://github.com/atuinsh/atuin.git
synced 2025-08-04 18:58:13 +00:00
fix: clarify that HISTFILE, if used, must be exported (#2758)
This commit is contained in:
parent
46efc937c6
commit
593702c91c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue