Fix zplug (#555)

This commit is contained in:
Roey Darwish Dror
2020-11-04 16:07:59 +02:00
committed by GitHub
parent 35c47a529d
commit 1bf33e7d1e

View File

@@ -57,7 +57,7 @@ pub fn run_zplug(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
env::var("ZPLUG_HOME")
.map(PathBuf::from)
.unwrap_or_else(|_| base_dirs.home_dir().join("zplug"))
.unwrap_or_else(|_| base_dirs.home_dir().join(".zplug"))
.require()?;
print_separator("zplug");