From 9b03c61bf220b954ae03dfb99847ed3aa0c4639d Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Thu, 6 Feb 2025 09:22:07 +0100 Subject: [PATCH] Pullall helper --- zsh/.config/zsh/.zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index ffacdb0..126c9d4 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -116,6 +116,12 @@ function pasters() { # Ensure we can make cheap copies on btrfs alias cp='cp --reflink=auto' +function pullall() { + for repo in "$@"; do + echo "$repo" + done | xargs -P0 -I{} git -C {} pull +} + if (( $+commands[thefuck] )) then alias fuck='$(thefuck $(fc -ln -1))'