Fix nix profile upgrade command & add profile path detection (#56)
* Fixes antigen update (#39) * Adds manifest.json check to nix * #34 Fix `nix profile upgrade` command & add profile path detection (#4) Authored-by: Manu [tennox] <2084639+tennox@users.noreply.github.com>
This commit is contained in:
@@ -47,7 +47,7 @@ pub fn run_antigen(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
|
||||
|
||||
print_separator("antigen");
|
||||
|
||||
let cmd = format!("source {} && antigen selfupdate && antigen update", zshrc.display());
|
||||
let cmd = format!("source {} && (antigen selfupdate ; antigen update)", zshrc.display());
|
||||
run_type.execute(zsh).args(&["-l", "-c", cmd.as_str()]).check_run()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user