mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 09:52:56 +00:00
10 lines
311 B
Fish
10 lines
311 B
Fish
echo "Searching git repos..." >&2
|
|
find "$HOME/dev" -type d -name '.git' | while read dir
|
|
set fullPath (dirname "$dir")
|
|
set relativePath (echo "$fullPath" | cut -d'/' -f5-)
|
|
if test -n (echo (git -C "$fullPath" status -s))
|
|
echo "$relativePath"
|
|
git -C "$fullPath" status -s
|
|
end
|
|
end
|