Updated config
This commit is contained in:
parent
52cc73aed5
commit
02cf6da26a
2 changed files with 9 additions and 1 deletions
9
.config/fish/functions/gpr.fish
Normal file
9
.config/fish/functions/gpr.fish
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue