zsh-autosuggestions
mcfly
Our great sponsors
zsh-autosuggestions | mcfly | |
---|---|---|
134 | 49 | |
29,589 | 6,562 | |
1.8% | - | |
3.0 | 7.2 | |
5 months ago | about 1 month ago | |
Shell | Rust | |
MIT License | 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-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:
https://github.com/zsh-users/zsh-autosuggestions
-
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
-
5 CLI Tools that are changing the landscape of developer productivity
I prefer zsh autosuggestions over the fuck. https://github.com/zsh-users/zsh-autosuggestions
-
Command completion
Then install this plugin: https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
mcfly
-
Fly through your shell history
It is a custom pretrained NN with very few nodes, the full source code is here: https://github.com/cantino/mcfly/blob/master/src/network.rs
-
Cdpath: Easily Navigate Directories in the Terminal
I've had a great time using McFly (https://github.com/cantino/mcfly) for going through my command history. It prioritizes showing commands that were previously run in your current directory!
-
fish-shell: the user-friendly command-line shell
I end up installing mcfly (https://github.com/cantino/mcfly) in all my shells, and it works great in fish as well.
-
Linux terminal user
You should try https://github.com/cantino/mcfly, it replaces the Ctrl r bind for fuzzy-search-style patter matching, that you can see all the similar commands and then select the one you want, it has been on all my machines ever since I've learnd of it
-
Atuin replaces your existing shell history with a SQLite database
There's also McFly which does the same thing.
https://github.com/cantino/mcfly
I've only used McFly and found it to be pretty great. My only complaint is the default search mode is SQL strings, so you have to use `%` for wildcards. I wish it was a more forgiving, less exact search.
Has anyone used both and could compare them?
-
Fulfilling a reader's request for my “dot files”
If you like searching your Bash history with fzf, you're gonna love McFly: https://github.com/cantino/mcfly
- Mcfly: Fly through your shell history. Great Scott
- Linux Kernel 6.2 issue · Issue #333 · cantino/mcfly
- Happens too often
- Advice to be more efficient with the terminal?
What are some alternatives?
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
fzf - :cherry_blossom: A command-line fuzzy finder
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
atuin - ✨ Magical shell history
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
zsh-histdb - A slightly better history for zsh
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.
antigen - The plugin manager for zsh.
modern-unix - A collection of modern/faster/saner alternatives to common unix commands.
zsh-yarn-completions - Yarn completions for Z-shell that supports yarn workspaces
zoxide - A smarter cd command. Supports all major shells.