On Tue, 8 Dec 2015, Michael Jones wrote: > With fish, if I type 'vim' then it ghosts in the last command I ran that > starts with 'vim' and if I click history-search-backward thingy then I get > the second to last command. So if I want to run the last command, I > currently have to press 'right arrow' to complete the ghosting then enter > and if I want the second to last then I have to press > history-search-backward and then press enter. This small difference is > throwing me off and I'd like to emulate the behaviour I had with zsh. > > Is that possible? I've had a little look at some of the fish scripts and > the use of the 'commandline' command but I can't see how I would achieve > the results I'm after. Any help would be much appreciated!
There's some discussion on this in https://github.com/fish-shell/fish-shell/issues/405 : > ridiculousfish commented on 25 Nov 2012 > This is by design - I found it annoying to press Up and be offered the > same option that I was already looking at. David Adam zanc...@ucc.gu.uwa.edu.au ------------------------------------------------------------------------------ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users