On Sun, Jan 5, 2014 at 8:39 PM, Mike Miller <fish-us...@mgmiller.net> wrote:

> First is that many aliases (functions) aren't working anymore because they
> now
> need full paths to binaries.  Is this by design?


Yes. This has been changed from fish 1.x.


> Other shells (including bash
> and fish 1.X) don't work like this, they can use aliases of aliases, which
> keeps
> them more modularized.  I had to do this on most of them:
>
> +++ b/.config/fish/functions/fps.fish
> @@ -1,3 +1,3 @@
>   function fps
> -       ps -ef | grep -v grep | grip $argv;
> +       ps -ef | /bin/grep -v grep | /bin/grep -i $argv;
>   end
>

Or better, just prepend the commads with the 'command' identifier to tell
fish it's not a function or builtin.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to