Merge #134
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:
@@ -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"))
|
.unwrap_or_else(|_| base_dirs.home_dir().join(".zshrc"))
|
||||||
.require()?;
|
.require()?;
|
||||||
|
|
||||||
|
print_separator("zplug");
|
||||||
|
|
||||||
let cmd = format!("source {} && zplug update", zshrc.display());
|
let cmd = format!("source {} && zplug update", zshrc.display());
|
||||||
run_type.execute(zsh).args(&["-c", cmd.as_str()]).check_run()
|
run_type.execute(zsh).args(&["-c", cmd.as_str()]).check_run()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user