3 ms·
Some plugins that saved me lots of typing with zsh: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/history-substring-search https://github.com/ohmyzsh/
by fdw 6y ago
Some plugins that saved me lots of typing with zsh:
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/history-substring-search https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/histo... looks through your history and only shows entries that started with the same characters that you already typed. Similar to Ctrl-R with fzf, but still similar enough that I use both.
https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-autosuggestions also looks through your history for commands with the same start, but it will automatically suggest them for you to use. If you often use the same commands, this saves quite some typing. For bonus points, I hooked it up so that Ctrl-Return will execute the suggestion.
https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/per-directory-history https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/per-d... To make the first two even more powerful, I split my history based on the directory I'm in. This means that it's only suggesting me commands I entered before in this directory.
- zeppelin101 6y agoI'm a huge fan of the first 2 plugins, but I didn't know about the per-directory history plugin. I might put that in my toolbox. Thanks for the recommendation!