momo-lab / Zsh Abbrev Alias
Licence: mit
This zsh plugin provides functionality similar to Vim's abbreviation expansion.
Stars: ✭ 84
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Zsh Abbrev Alias
Zsh Apple Touchbar
Make your touchbar more powerful.
Stars: ✭ 261 (+210.71%)
Mutual labels: zsh, zsh-plugin
Fz
Cli shell plugin, the missing fuzzy tab completion feature of z jump around command.
Stars: ✭ 359 (+327.38%)
Mutual labels: zsh, zsh-plugin
History Search Multi Word
Multi-word, syntax highlighted history searching for Zsh
Stars: ✭ 314 (+273.81%)
Mutual labels: zsh, zsh-plugin
tipz
Gives you helpful hints when you execute a command for which you have an alias defined
Stars: ✭ 24 (-71.43%)
Mutual labels: zsh, zsh-plugin
zsh-poetry
🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍
Stars: ✭ 43 (-48.81%)
Mutual labels: zsh, zsh-plugin
Zsh Better Npm Completion
Better completion for npm
Stars: ✭ 346 (+311.9%)
Mutual labels: zsh, zsh-plugin
Zsh You Should Use
📎 ZSH plugin that reminds you to use existing aliases for commands you just typed
Stars: ✭ 659 (+684.52%)
Mutual labels: zsh, zsh-plugin
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+663.1%)
Mutual labels: zsh, zsh-plugin
git-prompt.zsh
A fast, customizable, pure-shell, asynchronous Git prompt for Zsh
Stars: ✭ 139 (+65.48%)
Mutual labels: zsh, zsh-plugin
ranger-autojump
The combined magic of autojump, ranger and zsh
Stars: ✭ 59 (-29.76%)
Mutual labels: zsh, zsh-plugin
aterminal
🎉 An oh-my-zsh plugin for show platform versions
Stars: ✭ 31 (-63.1%)
Mutual labels: zsh, zsh-plugin
Dotbare
Manage dotfiles and any git directories interactively with fzf
Stars: ✭ 327 (+289.29%)
Mutual labels: zsh, zsh-plugin
gitignore.plugin.zsh
ZSH plugin for creating .gitignore files.
Stars: ✭ 44 (-47.62%)
Mutual labels: zsh, zsh-plugin
zsh-titles
Terminal/tmux titles based on current location and task
Stars: ✭ 46 (-45.24%)
Mutual labels: zsh, zsh-plugin
Zsh Z
Jump quickly to directories that you have visited "frecently." A native ZSH port of z.sh.
Stars: ✭ 562 (+569.05%)
Mutual labels: zsh, zsh-plugin
Fzf Tab
Replace zsh's default completion selection menu with fzf!
Stars: ✭ 761 (+805.95%)
Mutual labels: zsh, zsh-plugin
zsh-abbrev-alias
This zsh plugin provides functionality similar to Vim's abbreviation expansion.
This plugin consulted http://zshwiki.org/home/examples/zleiab .
See https://github.com/momo-lab/bash-abbrev-alias for bash version.
Installation
zplug
Usingzplug "momo-lab/zsh-abbrev-alias"
Alias settings are written after zplug load
.
For Example
$ abbrev-alias -g G="| grep"
$ ps aux G<push space key>
->
$ ps aux | grep
$ git branch
* master
$ abbrev-alias -ge B='$(git symbolic-ref --short HEAD 2> /dev/null)'
$ git push origin B<push space key>
->
$ git push origin master
$ abbrev-alias d='docker'
$ d<push space key>
->
$ docker
$ abbrev-alias -r dr='d run --rm -it'
$ dr<push space key>
->
$ docker run --rm -it
Notes
This plugin is compatible with https://github.com/MichaelAquilina/zsh-you-should-use, you only need to source it first
Help
Show abbrev-alias --help
.
$ abbrev-alias --help
abbrev-alias 0.3.0
usage: abbrev-alias [OPTIONS] {name=value ...}
abbrev-alias -u {name ...}
abbrev-alias --init
sptions:
-c, --command register as 'alias name=value'
-g, --global register as 'alias -g name=value'
-e, --eval evaluates subshells on expansion
-r, --recursive expand aliases recursively
-u, --unset unregister alias
-i, --init initialize abbrev-alias. execute with .zshrc
-h, --help show this help
-v, --version show version
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].