Updated config

This commit is contained in:
2025-03-21 17:00:05 +01:00
parent 52cc73aed5
commit 02cf6da26a
2 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,6 @@ alias gc "git clone"
alias gd "git diff --ignore-space-at-eol" alias gd "git diff --ignore-space-at-eol"
alias gl "git log --oneline" alias gl "git log --oneline"
alias gp "git pull" alias gp "git pull"
alias gpr "find . -mindepth 1 -maxdepth 1 -type d -print -exec git -C {} pull \;"
alias gs "git status" alias gs "git status"
# Go # Go

View File

@ -0,0 +1,9 @@
function gpr
for dir in (find . -type d -name ".git")
set repo (dirname $dir)
set_color green
echo "Updating $repo"
set_color normal
git -C $repo pull
end
end