@kevin Command causing problem is ":r !ls" and not "!ls".
The reason of failure is that above vi command expands to something like : (ls) >/tmp/vLXvcb3/0 and fish tries to find a command named "(ls)" and couldn't find it. On 6/24/12, Kevin Ballard <ke...@sb.org> wrote: > Strange, :!ls works just fine for me when fish is my login shell. What > exactly is vim doing for you that's not compatible with fish? > > -Kevin > > On Jun 24, 2012, at 12:39 AM, Wai Yan Pong <wypon...@gmail.com> wrote: > >> Great! It does the trick. Thanks. >> >> On Sat, Jun 23, 2012 at 11:08 PM, pants <pa...@cs.hmc.edu> wrote: >> > fish: Illegal command name "(ls)" >> > Standard input: (ls) > /tmp/vIYX9Pj/0 >> > >> > shell returned 127 >> >> vim expects your shell to be POSIX compliant, which fish isn't. This >> will >> cause a whole slew of problems if left as it is. You should probably add >> 'set >> shell=bash' to your .vimrc, or whatever your POSIX compliant shell of >> choice >> is. >> >> pants. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> >> will include endpoint security, mobile security and the latest in malware >> >> threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users > > -- Regards, Siteshwar ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users