News for hackers. Stuff that matters.
Re:Fish: A user-friendly command line shell for macOS, Linux... by sertorius on Wednesday December 13, 2017 @08:26AM (#15914030)
I use the following lines in my .bashrc to search the history based on a half-typed command (taken from https://stackoverflow.com/questions/1030182/how-do-i-change-...):

    if [[ $- == *i* ]]
    then
        bind '"\e[A": history-search-backward'
        bind '"\e[B": history-search-forward'
    fi
Re:Fish: A user-friendly command line shell for macOS, Linux... by spinningarrow on Wednesday December 13, 2017 @11:44AM (#15915359)
There are two history search features in fish that I really like: One is searching for a half typed command as above, but the other one that I haven’t found elsewhere is completing words from other commands. For example, I can type ‘touch something’ and later on do ‘cat some’ and then press option+up and fish will complete it to ‘something’.
Re:Fish: A user-friendly command line shell for macOS, Linux... by figgis on Thursday December 14, 2017 @12:35PM (#15924305)
After using ZSH I have that first feature and love it. I try to keep as much of my history as possible and it's amazing how much time you can save that way. Does that second feature not clutter up that history though?