On 09/18/10 10:22, Grissiom wrote:
> Hi,
>
> For some reason, I want to alias git to a function __git:
>
> function __git
>    echo "got here // just for exp"
>    git
> end
> alias git __git
>
> but this cause a endless loop. How can I get rid of this?(call the
> original git command instead of alias)

the solution, if I remember it rightly:
command git

also tends to work:
/usr/bin/git

-Isaac

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to