zsh-abbr
zsh-autosuggestions
zsh-abbr | zsh-autosuggestions | |
---|---|---|
26 | 136 | |
481 | 29,672 | |
- | 1.1% | |
7.7 | 3.0 | |
6 days ago | 6 months ago | |
Shell | Shell | |
GNU General Public License v3.0 or later | 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-abbr
- Favorite aliases?
-
zsh-abbr v5 released 🚢 starring multi-word abbreviations
If you have trouble, open a GitHub issue https://github.com/olets/zsh-abbr/issues/new/choose
- zsh-abbr v4.8.3: better zsh-autosuggestions support
- zsh-abbr v5.0.0.beta-1 pre-release. multi-word abbreviations!
-
Alias functionality that shows the actual command and not just the alias
The abbreviations from Fish will expand the moment you hit space or execute the command. It's basically like an alias, but will expand. However this is not possible in Bash. Zsh itself does not support this, but there is an addon I am using for: https://github.com/olets/zsh-abbr
-
Snippet/expansion and own aliases
But you aren't limited to something OMZ specific. zsh-abbr is a manager for "abbreviations" (similar to auto-expanding aliases but with additional tools, and saving everything to a file which can be backed up). And there are zsh snippet managers… I haven't used any so can't speak to them; pet might be the most popular.
-
zsh-abbr 4.8.0: now XDG_CONFIG_HOME-friendly
Something broke? Open an issue
-
Can you add features such as Syntax highlighting and Auto-suggestions to Bash?
Enhanced completion: Extend completion by syntax-aware completion, completion with quotes and parameter expansions in prefix texts, ambiguous candidate generation, etc. Also, menu-complete supports selection of candidates in menu (candidate list) by cursor keys, TAB and S-TAB. The feature auto-complete supports the automatic suggestion of completed texts as in fish and zsh-autosuggestions (with Bash 4.0+). The feature menu-filter integrates automatic filtering of candidates into menu completion (with Bash 4.0+). There are other functionalities such as dabbrev and sabbrev like zsh abbreviations or zsh-abbr.
-
trash-cli: rm alternative that lets you restore deleted files
I know. I have an addon for ZSH which mimics the Fish like abbreviations: https://github.com/olets/zsh-abbr
-
Sharing some bash aliases
I am on ZSH and prefer abbreviations (with an addon to mimic Fish abbr), because the command will expand on typing and I change it before execution. Also it is then correctly logged as expanded version in the history. However, I also have a few aliases too:
zsh-autosuggestions
-
Melhorando e configurando seu novo Shell linux. Pt-2
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting && git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting && git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
-
Improve your productivity by using more terminal and less mouse (🚀).
If you are not using oh-my-zsh, you are missing out on some amazing plugins. One feature most people wish the terminal had is autocompletion. With the zsh-autosuggestions plugin, your terminal will autocomplete most commands and remember previous ones.
-
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
What are some alternatives?
fish-pet
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
fzf-tab - Replace zsh's default completion selection menu with fzf!
oh-my-posh - The most customisable and low-latency cross platform/shell prompt renderer
zsh-vi-mode - 💻 A better and friendly vi(vim) mode plugin for ZSH.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
oh-my-zsh - 🙃 A delightful community-driven (with 1700+ contributors) framework for managing your zsh configuration. Includes nearly 300 optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. [Moved to: https://github.com/ohmyzsh/ohmyzsh]
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.
zplug - :hibiscus: A next-generation plugin manager for zsh
fzf - :cherry_blossom: A command-line fuzzy finder
fast-syntax-highlighting - (Short name F-Sy-H). Syntax-highlighting for Zshell – fine granularity, number of features and multiple shipped themes.
zsh-yarn-completions - Yarn completions for Z-shell that supports yarn workspaces