I just ran an old function/script and found out it crashes the new fishfish:

function xvps

        set HOSTS[1] "luc:161.1.6.161:22"
        set HOSTS[2] "luc:78.7.8.78:22"

        echo ding!

        [more code...]
end

I soon found that the problem is in the array notation. After I have removed 
[1], [2] and [3] (and commented out all the rest of the code because it's 
obviously broken without the array), fish no longer exits, and correctly prints 
"ding!" to the screen.

That is reproduced on the command line, too. I can paste any one of those lines 
onto my command line, hit Enter, and fish will exit immediately.

Still on version 0.9.1.

-- 
Luciano ES
>>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to