On Wed, Sep 20, 2006 at 03:35:46AM +0200, Martin Bähr wrote: > hi, i just stumpled onto the following problem when trying to call an > external program from vi: > > in vi i simply selected arange of lines and did: > :'<,'>!sort > > '<,'> is the lines to be sorted, > and sort is the command. > > the command that vim then actually produces is the following: > > fish: Command substitutions not allowedIllegal command name #(sort)# > Standard input: (sort) < /tmp/v744983/1 >/tmp/v744983/2 > > now this is cearly not a bug in fish, it is arguably one in vim.
A quick and dirty solution (which I use) is to add the following to your
~/.vimrc:
if $SHELL =~ 'fish'
set shell=/bin/sh
endif
I talked with Axel about this before (I think it was off-list) and I'm
pretty sure I ended up emailing Bram about it afterwards. I'll see if I
can find those emails and whether or not anything more significant than
my above solution came out of them.
James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
