You are viewing a single comment's thread from:
RE: Linux Tips - DRYing up the Bash (incremental search)
Actually I'd suggest using zsh with zsh-history-substring-search, which actually is much more convenient.
Actually I'd suggest using zsh with zsh-history-substring-search, which actually is much more convenient.
I generally use bash, but I'll take a look...
Okay, I've installed
zsh
, I've cloned the repo with the script, and I've updated the.zshrc
file to use it... now... how do I use it? I've sourced the .zshrc file but I'm not sure what I should be doing next. Can you give an example of doing some commands and then triggering it?There is an explanation https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/history-substring-search .
I remembered that years ago I have learned KSH which is also kinda 'better' than BASH.
That should be really long long ago.
I know, it was like 14 years ago (2003) when I finished high school.
Well, I tried it out but it seems to be the same as in bash... though now I have to try out fish.
yes, fish is awesome; the frustrating thing is that it's bash incompatible.