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:
Thomas Schönauer
2022-10-22 09:26:49 +00:00
committed by GitHub
parent 7b512f1e00
commit 3797fc7bae
2 changed files with 18 additions and 2 deletions

View File

@@ -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()
}