dotfiles/modules/shell/fish/functions/uncommitted.fish
2022-05-06 09:44:21 -04:00

12 lines
209 B
Fish

set current_dir (pwd)
cd $HOME/dev
find . -type d -name '.git' | while read dir
cd $dir/../
and if test -n (echo (git status -s))
pwd
git status -s
end
cd -
end
cd $current_dir