From 8600374371f91843064441113f4023cda1730877 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 18 Mar 2023 16:40:57 -0300 Subject: General fish fixes and updates --- .config/fish/functions/git_pull_all.fish | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/fish/functions/git_pull_all.fish (limited to '.config/fish/functions/git_pull_all.fish') diff --git a/.config/fish/functions/git_pull_all.fish b/.config/fish/functions/git_pull_all.fish new file mode 100644 index 00000000..037f7234 --- /dev/null +++ b/.config/fish/functions/git_pull_all.fish @@ -0,0 +1,7 @@ +function git_pull_all + for branch in (git branch | sed -E 's/^\*/ /' | awk '{print $1}'); + git checkout $branch; + git pull -p; + printf "\n"; + end +end -- cgit v1.2.3