feat: add support for nu shell (#2847)

This commit is contained in:
David Knaack
2021-07-04 21:32:58 +02:00
committed by GitHub
parent 196cc8aa39
commit cea1a1ceb1
17 changed files with 119 additions and 28 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ impl StarshipConfig {
} else {
// Default to using ~/.config/starship.toml
log::debug!("STARSHIP_CONFIG is not set");
let config_path = dirs_next::home_dir()?.join(".config/starship.toml");
let config_path = utils::home_dir()?.join(".config/starship.toml");
let config_path_str = config_path.to_str()?.to_owned();
log::debug!("Using default config path: {}", config_path_str);
config_path_str