Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 2320106

Browse files
authored
Stop checking ZPFX (#943)
Fixes #935
1 parent bcf7465 commit 2320106

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/steps/zsh.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ pub fn run_zi(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
9898
let zsh = require("zsh")?;
9999
let zshrc = zshrc(base_dirs).require()?;
100100

101-
env::var("ZPFX")
102-
.map(PathBuf::from)
103-
.unwrap_or_else(|_| base_dirs.home_dir().join(".zi"))
104-
.require()?;
101+
base_dirs.home_dir().join(".zi").require()?;
105102

106103
print_separator("zi");
107104

0 commit comments

Comments
 (0)