From: Mario Camou Date: 2009-10-05T22:05:08+09:00 Subject: Re: method_missing for command shell? --001636ed77c58fb04904752fabe7 Content-Type: text/plain; charset=ISO-8859-1 Try zsh -Mario. -- I want to change the world but they won't give me the source code. On Mon, Oct 5, 2009 at 14:33, Roger Pack wrote: > Hi all. My bash-fu is a little bit lacking, so here's my question. > > I'm wondering if anybody knows of a shell that can be programmed to > "guess" what you meant when you type in a command errantly, like (kind > of a bad example, but...) > > > > $ git dif > > (it runs git dif, fails, then, in method_missing style, I can tell it > "oh what I always means when I run git dif is git diff" so it correct > its for me and runs it). > > Any pointers on where to go there? > Thanks. > -r > -- > Posted via http://www.ruby-forum.com/. > > --001636ed77c58fb04904752fabe7--