Add oh-my-fish (fix #513) (#514)

This commit is contained in:
Roey Darwish Dror
2020-09-03 09:32:45 +03:00
committed by GitHub
parent 10f3d929e8
commit ce06b6e307
2 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,13 @@ pub fn run_fisher(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
run_type.execute(&fish).args(&["-c", "fisher"]).check_run()
}
pub fn run_oh_my_fish(ctx: &ExecutionContext) -> Result<()> {
let omf = require("omf")?;
print_separator("oh-my-fish");
ctx.run_type().execute(&omf).arg("update").check_run()
}
pub fn run_brew(ctx: &ExecutionContext) -> Result<()> {
let brew = require("brew")?;
print_separator("Brew");