I installed with:
$ brew install fish
Not sure how I might have messed that up, but happy to be shown the error of my
ways.
Cheers,
Peter
Apologes for speling & gramar erorrs - sent from mobil deivce
> On Oct 1, 2014, at 1:25 AM, Cedric Auger <sedri...@gmail.com> wrote:
>
> Are you sure, you correctly installed it?
>
> On my Ubuntu version, it works.
>
> cauger@cauger-PNR ~> fish --version
> fish, version 2.1.1-965-gf0d8d90
> cauger@cauger-PNR ~> history --search --contains "foo"
> history --search --contains "foo"
> echo Hello | sendxmpp --ssl -o foo cedric.auger
> cat foo
> …
>
>
> 2014-09-30 2:39 GMT+02:00 Peter Monks <pmo...@gmail.com>:
>> G'day,
>>
>> I'm seeing some strange behaviour in the history function with fish v2.1.1
>> (installed via homebrew on Mac OSX 10.9.5). Specifically:
>>
>> pmonks@pindari ~$ fish --version
>> fish, version 2.1.1
>> pmonks@pindari ~$ history --search --contains "foo"
>> fish: Could not expand string '$argv[$i]'
>> /usr/local/Cellar/fish/2.1.1/share/fish/functions/history.fish (line 17):
>> switch $argv[$i]
>>
>> ^
>> in function 'history',
>> called on standard input,
>> with parameter list '--search --contains foo'
>>
>> pmonks@pindari ~$
>>
>> I took a look at the code in question, but couldn't see anything obviously
>> wrong with it, not that that's saying much given I'm a fish n00b. Any idea
>> what I'm doing wrong, or where to look next to troubleshoot?
>>
>> Thanks in advance!
>> Peter
>>
>>
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>
>
>
> --
> .../Sedrikov\...
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users