diff --git a/src/main.rs b/src/main.rs index 584a2bdf..3362988d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -77,10 +77,16 @@ fn run() -> Result<()> { if cfg!(unix) { collect_repo(home_path(".zshrc")); + collect_repo(home_path(".oh-my-zsh")); collect_repo(home_path(".tmux")); } } + for repo in git_repos { + terminal.print_seperator(format!("Pulling {}", repo)); + git.pull(repo)?; + } + if cfg!(unix) { if let Ok(zsh) = which("zsh") { if home_path(".zplug").exists() { @@ -97,10 +103,6 @@ fn run() -> Result<()> { } } - for repo in git_repos { - git.pull(repo)?; - } - if cfg!(target_os = "linux") { let sudo = which("sudo");