134: feat(zplug): print separator for zplug step r=r-darwish a=ericmarkmartin



Co-authored-by: Eric Mark Martin <ericmarkmartin@gmail.com>
This commit is contained in:
bors[bot]
2019-03-11 17:07:31 +00:00

View File

@@ -20,6 +20,8 @@ pub fn run_zplug(base_dirs: &BaseDirs, run_type: RunType) -> Result<(), Error> {
.unwrap_or_else(|_| base_dirs.home_dir().join(".zshrc"))
.require()?;
print_separator("zplug");
let cmd = format!("source {} && zplug update", zshrc.display());
run_type.execute(zsh).args(&["-c", cmd.as_str()]).check_run()
}