On Sat, Sep 18, 2010 at 16:47, Isaac Dupree
<[email protected]>wrote:
> 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
>
And if the command you're shadowing is a builtin:
builtin git # if fish were to have a 'git' builtin
>
> -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
>
------------------------------------------------------------------------------
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