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

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

On 30/06/09 Bart Trojanowski said:

> Is "do some work" short enough that you can set up an alias instead of a
> function?
> 
>         git config --global alias.dirstatus "do some work"
> 
> If not, you can also create a $HOME/bin/dir-status and add $HOME/bin to
> your PATH.
> 
> Either way you can then execute this with:
> 
>         git dirstatus [ arguments ]

I'm still learning how to properly do compound statements with git aliases. I
find it a little confusing, syntax-wise.

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: signature.asc
Description: Digital signature