committed by
GitHub
parent
10f3d929e8
commit
ce06b6e307
@@ -240,6 +240,7 @@ fn run() -> Result<()> {
|
|||||||
runner.execute(Step::Shell, "zinit", || zsh::run_zinit(&base_dirs, run_type))?;
|
runner.execute(Step::Shell, "zinit", || zsh::run_zinit(&base_dirs, run_type))?;
|
||||||
runner.execute(Step::Shell, "oh-my-zsh", || zsh::run_oh_my_zsh(&ctx))?;
|
runner.execute(Step::Shell, "oh-my-zsh", || zsh::run_oh_my_zsh(&ctx))?;
|
||||||
runner.execute(Step::Shell, "fisher", || unix::run_fisher(&base_dirs, run_type))?;
|
runner.execute(Step::Shell, "fisher", || unix::run_fisher(&base_dirs, run_type))?;
|
||||||
|
runner.execute(Step::Shell, "oh-my-fish", || unix::run_oh_my_fish(&ctx))?;
|
||||||
runner.execute(Step::Tmux, "tmux", || tmux::run_tpm(&base_dirs, run_type))?;
|
runner.execute(Step::Tmux, "tmux", || tmux::run_tpm(&base_dirs, run_type))?;
|
||||||
runner.execute(Step::Tldr, "TLDR", || unix::run_tldr(run_type))?;
|
runner.execute(Step::Tldr, "TLDR", || unix::run_tldr(run_type))?;
|
||||||
runner.execute(Step::Pearl, "pearl", || unix::run_pearl(run_type))?;
|
runner.execute(Step::Pearl, "pearl", || unix::run_pearl(run_type))?;
|
||||||
|
|||||||
@@ -30,6 +30,13 @@ pub fn run_fisher(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
|
|||||||
run_type.execute(&fish).args(&["-c", "fisher"]).check_run()
|
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<()> {
|
pub fn run_brew(ctx: &ExecutionContext) -> Result<()> {
|
||||||
let brew = require("brew")?;
|
let brew = require("brew")?;
|
||||||
print_separator("Brew");
|
print_separator("Brew");
|
||||||
|
|||||||
Reference in New Issue
Block a user