Thanks for the heads up. Interesting to see that others have had the same experience. I can see both sides but I'm more on the "don't make me think" side of things so I don't want to have to think about which button to press to get the result I'm after. Though I'm sure there are plenty of other examples in software where I do it happily. Probably just the contrast with my previous set up that makes it feel a bit off.
I guess having an option to control the behaviour would 'solve' it but it is best to avoid them if possible. On 13 December 2015 at 13:19, David Adam <zanc...@ucc.gu.uwa.edu.au> wrote: > 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