home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] acceptable bourne shell function names

On 03/07/09 Bart Trojanowski said:

> I guess not everyone runs git from git.git :)

:)

So I went with this. It provides a nice blank line between subdirectories.

dirstatus = !ls -d1 */.git | xargs -n1 -i{} sh -c \"echo && cd {}/.. && echo
Checking {} && git status \"

Thanks,
Mike
-- 
Michael P. Soulier <msoulier [ at ] digitaltorque [ dot ] ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: pgpjXmhA_u9rl.pgp
Description: PGP signature