mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
installable: Reword $HOME error
This commit is contained in:
parent
80d53b129f
commit
f89e26b06e
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ fn install(confirm: bool) -> bool {
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::io::{stderr, stdin};
|
use std::io::{stderr, stdin};
|
||||||
let Some(home) = fish::env::get_home() else {
|
let Some(home) = fish::env::get_home() else {
|
||||||
eprintln!("Can't find $HOME",);
|
FLOG!(error, "Can't find home directory.");
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
let dir = PathBuf::from(home).join(DATA_DIR).join(DATA_DIR_SUBDIR);
|
let dir = PathBuf::from(home).join(DATA_DIR).join(DATA_DIR_SUBDIR);
|
||||||
|
|
Loading…
Reference in a new issue