Re: of and oc

2009-06-04 Thread Corinna Vinschen
On Jun 4 11:40, Haojun Bao wrote: > cygstart is so useful that I want type less keys: > > alias of=cygstart #on cygwin-1.5 > > or: > > function of () > { > if which "$1" > /dev/null 2>&1; then > if [[ "$1" == of ]]; then > local file=`which cygsta

of and oc

2009-06-03 Thread Haojun Bao
cygstart is so useful that I want type less keys: alias of=cygstart #on cygwin-1.5 or: function of () { if which "$1" > /dev/null 2>&1; then if [[ "$1" == of ]]; then local file=`which cygstart`; else local file="`which