On Tue, Apr 08, 2014 at 02:53:16PM -0700, Kevin Ballard wrote: > I am having a hard time figuring out what you're trying to say here. > The only thing I got with any certainty is that you think that hitting > <enter> should auto-accept the suggestion. That's an incredibly > dangerous and surprising behavior to put into a terminal shell. For > example, `rm f` should _never_ automatically invoke `rm f*`. > > -Kevin
hello, i don't think you have that one either. rm -rf /<Enter> will execute 'rm /' in any shell anyway. question then is why would suggestion engine bring that up. in any case, there are two things that i'm asking about: 1. prioriotising the auto-completion/auto-suggestion's this is exactly what vimperator or pentadactyl do in firefox. so user could set auto-suggestions-order e.g. in this order: set auto-suggestion-order=history,cmd,path then history would be offered first and cmd next, with a delim in between perhaps, and so on. so in that case if user has already run 'rm -rf / ' he doesn't get a second chance :) kidding aside, since history are the commands that have already been checked and run there is a level of safetly in repeating them where as in other shells you always have to check for type everytime. 2. accepting the first *hit* with an <Enter> this exactly what Safari's or chrome's address bar do. hit being the first match for the input so far and vimperator did not offer this last time i checked. ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users