mirror of
https://github.com/r-darwish/topgrade
synced 2024-07-08 20:16:24 +00:00
parent
29644d6ffa
commit
0750e8c33b
|
@ -98,10 +98,7 @@ pub fn run_zi(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
|
|||
let zsh = require("zsh")?;
|
||||
let zshrc = zshrc(base_dirs).require()?;
|
||||
|
||||
env::var("ZPFX")
|
||||
.map(PathBuf::from)
|
||||
.unwrap_or_else(|_| base_dirs.home_dir().join(".zi"))
|
||||
.require()?;
|
||||
base_dirs.home_dir().join(".zi").require()?;
|
||||
|
||||
print_separator("zi");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user