zsh-history-substring-search
zsh-autosuggestions
Our great sponsors
zsh-history-substring-search | zsh-autosuggestions | |
---|---|---|
14 | 134 | |
2,416 | 29,349 | |
2.2% | 2.0% | |
3.8 | 3.0 | |
29 days ago | 4 months ago | |
Shell | Shell | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zsh-history-substring-search
-
Fly through your shell history
How does this differ from https://github.com/zsh-users/zsh-history-substring-search ? Except that yours seems to be built-in and zsh-history-substring-search is ~800 lines of zsh
-
Make Your Linux Terminal Enjoyable to Use
git clone --depth 1 "https://github.com/zsh-users/zsh-history-substring-search" $HOME/.oh-my-zsh/custom/plugins/zsh-history-substring-search
-
Show HN: TBMK – A Commands Bookmark for Terminal
Agreed, but also https://github.com/zsh-users/zsh-history-substring-search for me.
I can't life without this one anymore
-
History: how to suggest previous ls... command
zsh-history-substring-search: This is a clean-room implementation of the Fish shell's history search feature, where you can type in any part of any command from history and then press chosen keys, such as the UP and DOWN arrows, to cycle through matches.
-
zsh
In most shells, you can make use of Ctrl+R to perform backwards search through your history. After pressing Ctrl+R, you can type a substring you want to match for commands in your history. As you keep pressing it, you will cycle through the matches in your history. This can also be enabled with the UP/DOWN arrows in zsh.
-
Does anyone know the best practice insofar as where to place aliases, plugins and functions
That doesn't have the same behavior as fish. This plugin does: https://github.com/zsh-users/zsh-history-substring-search
-
Fixed the meme
zsh-history-substring-search allows you to do the same thing in zsh
-
Finding that command you need
In that case, history substring search can come in handy.
-
My favorite zsh history plugin
if you're going to use a fork of zdharma's work, this one might be better https://github.com/zsh-users/zsh-history-substring-search (maintained by a group)
-
Zsh Plugins Commit TOP
history-substring-search 🥇 ⌛ - Needs to be loaded after zsh-syntax-highlighting, or they'll both break. You'll also need to bind keys to its functions, details are in the README.md.
zsh-autosuggestions
-
Setting up a MacBook for development in 2024
brew install fzf # for fuzzy find files, commands, etc brew install starship $(brew --prefix)/opt/fzf/install git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting # syntax highlight for zsh git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # smart autosuggestions for zsh echo 'eval "$(starship init zsh)"' >> ~/.zshrc
-
Fish shell 3.7.0: last release branch before the full Rust rewrite
The big thing for me was the intuitive auto-completion which I hadn't seen anywhere else at the time, but this is now also available in zsh via this plugin:
-
Essential Terminal Settings for macOS
The zsh-autosuggestions plugin suggests commands that you've previously used in your command history. To accept a suggestion, simply press the right arrow key.
-
Arch Installation for Beginners
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
fish-shell: the user-friendly command-line shell
Am i the only one who feels fish is not worth it despite of hype? Don't get me wrong. I think that fish is really good shell.
BUT...
After adding the following plugins to zsh(before you chime in, it's just adding these lines,not anything configuring much. also it auto bootstraps on new install), I found out that fish is no where near configured zsh.
1) https://github.com/zdharma-continuum/zinit (plugin manager)
2) https://github.com/zdharma-continuum/fast-syntax-highlightin...
3) https://github.com/zdharma-continuum/history-search-multi-wo...
4) https://github.com/zsh-users/zsh-autosuggestions
5) https://github.com/zsh-users/zsh-completions
6) https://github.com/Aloxaf/fzf-tab
7) any good shell prompt generator like https://github.com/romkatv/powerlevel10k
For example, I use fzf integration for tab completion. Fish's fzf integration is nowhere as good as that of zsh's. Also, posix compat and almost bash compat of zsh is plus.
I acknowledge that zsh isn't perfect shell either and I have tried and failed few times in past to switch to fish. If you provide me compelling reason/s to switch to fish, I am all ears.
-
Something like zsh-autosuggestions for eshell?
I'm currently using vterm + zsh + zsh-autosuggestions for most of my terminal stuff.
-
[Question] What are the best plugins for zsh ?
Two by far the most popular plugins are zsh-syntax-highlighting and zsh-autosuggestions. They are of high quality and quite useful.
-
Configuração do Windows para desenvolvimento
echo "Installing zsh-autosuggestions" git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions echo "Installing zsh-syntax-highlighting" git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting echo "Installing asdf" git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Command completion
Then install this plugin: https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
- [Zsh] ZSH-Auto-complete vs Zsh-Autosuggestions (vs Fig)
What are some alternatives?
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
fzf - :cherry_blossom: A command-line fuzzy finder
zsh-yarn-completions - Yarn completions for Z-shell that supports yarn workspaces
zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.
zsh-syntax-highlighting - Fish shell like syntax highlighting for Zsh.
tldr - 📚 Collaborative cheatsheets for console commands