Hi,

I've recently migrated to 2.0.  Below are two issues I'm having.

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

Second, something is now wrong with the titles in the tabs of my terminal when 
I 
run a program, let's say python.  On a fresh install it seems to work properly, 
but with my config the title is wrong, instead I get the previous program. 
$history[0] doesn't work anymore, not sure what to do:

function fish_title
     switch $TERM
         case "xterm*"               # don't try to set title if not in xterm
             if test $_ = fish
                 prompt_pwd
             else
                 #~ echo $history[0]
                 echo $history[1]    # shows the previous command line
             end
    end
end

Thanks again for the hard work.

-Mike


------------------------------------------------------------------------------
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