mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 21:15:02 +00:00
commandline append in uncommitted and darwin-rebuild
This commit is contained in:
1 parent
faa7f74773
commit
c646f126e2
2 files changed
+11
-13
No files matched your search
@@ -1,11 +1,9 @@
|
||||
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
|
||||
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
|
||||
cd -
|
||||
end
|
||||
cd $current_dir
|
||||
Reference in new issue
Block a user