All Projects → chrisands → zsh-yarn-completions

chrisands / zsh-yarn-completions

Licence: MIT license
Yarn completions for Z-shell that supports yarn workspaces

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to zsh-yarn-completions

fast-autocomplete
Fast Autocomplete: When Elastcsearch suggestions are not fast and flexible enough
Stars: ✭ 201 (+474.29%)
Mutual labels:  autocomplete, autocompletion
Elasticsearch-Autocomplete-API-Sample
Building Autocomplete API with Completion Suggester in ASP.NET Core sample project
Stars: ✭ 20 (-42.86%)
Mutual labels:  autocomplete, suggestions
django-search-admin-autocomplete
Simple django app that add autocomplete to search inside admin panel.
Stars: ✭ 28 (-20%)
Mutual labels:  autocomplete, autocompletion
Yarn Completion
Bash completion for Yarn
Stars: ✭ 210 (+500%)
Mutual labels:  yarn, autocompletion
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (-37.14%)
Mutual labels:  autocomplete, autocompletion
vscode-allautocomplete
Autocomplete from open files for VSCode
Stars: ✭ 90 (+157.14%)
Mutual labels:  autocomplete, autocompletion
SuggestBoxLib
A WPF Dark/Light AutoComplete TextBox that can easily handle 20.000+ entries.
Stars: ✭ 36 (+2.86%)
Mutual labels:  autocomplete, suggestions
yarn-workspaces-simple-monorepo
Yarn Workspaces basic monorepo management without Lerna for coding examples
Stars: ✭ 31 (-11.43%)
Mutual labels:  yarn, yarn-workspaces
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+1788.57%)
Mutual labels:  autocomplete, autocompletion
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+1731.43%)
Mutual labels:  autocomplete, autocompletion
Verdaccio
📦🔐 A lightweight Node.js private proxy registry
Stars: ✭ 12,667 (+36091.43%)
Mutual labels:  yarn, yarnpkg
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (+377.14%)
Mutual labels:  autocomplete, autocompletion
React-Native-Web-TypeScript-Prettier-Boilerplate
A starterkit to work with nextjs, react-native, storybook… all with prettified typescript and in a monorepo
Stars: ✭ 16 (-54.29%)
Mutual labels:  yarn, yarn-workspaces
CLI-Autocomplete
Cross-platform flexible autocomplete library for your CLI applications.
Stars: ✭ 21 (-40%)
Mutual labels:  autocomplete, autocompletion
mock-spy-module-import
JavaScript import/require module testing do's and don'ts with Jest
Stars: ✭ 40 (+14.29%)
Mutual labels:  yarn, yarn-workspaces
Autocomplete
Suggests and completes words as you type! Write faster and more efficiently.
Stars: ✭ 18 (-48.57%)
Mutual labels:  autocomplete, autocompletion
awesome-env-config-cn
各种开发语言项目环境国内(中国国内加速镜像)配置教程和部分实践经验,包括github.com, nodejs,npm,nvm, yarn, java, maven, gradle, python, mysys2, elasticsearch, php,golang等等,更多正在加入中...
Stars: ✭ 50 (+42.86%)
Mutual labels:  yarn, yarnpkg
yarn-global
A set of useful methods for @yarnpkg
Stars: ✭ 12 (-65.71%)
Mutual labels:  yarn, yarnpkg
Autocomplete.js
Simple autocomplete pure vanilla Javascript library.
Stars: ✭ 3,428 (+9694.29%)
Mutual labels:  autocomplete, suggestions
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+291.43%)
Mutual labels:  autocomplete, autocompletion

zsh yarn completions

Yarn completions for Z-shell that supports yarn workspaces

What is does?

  • completes for all yarn commands and subcommands
  • completes default flags
  • add recommends packages from cache
  • remove | upgrade | upgrade-interactive recommends packages from package.json
  • support global completion
  • support workspaces

Requirements:

  • zsh - Z-shell

Installation

Using Antigen

antigen bundle chrisands/zsh-yarn-completions

Using zplug

zplug "chrisands/zsh-yarn-completions", defer:2

Using Oh My Zsh! as custom plugin

Clone zsh-yarn-completion into your custom plugins repo

git clone https://github.com/chrisands/zsh-yarn-completions ~/.oh-my-zsh/custom/plugins/zsh-yarn-completions

Then load as a plugin in your .zshrc

plugins+=(zsh-yarn-completions)

Manually

Clone this repository somewhere (~/.zsh-yarn-completion for example)

git clone https://github.com/chrisands/zsh-yarn-completions.git ~/.zsh-yarn-completions

Then source it in your .zshrc

source ~/.zsh-yarn-completions/zsh-yarn-completions.plugin.zsh

Aliases

Alias Command
y yarn
yi yarn install
ya yarn add
yad yarn add -D
yga yarn global add
yr yarn remove
ygr yarn global remove
yl yarn link
yu yarn unlink
yw yarn workspace
ywi yarn workspaces info

Roadmap

  • suggest unique flags for different commands
  • config set | get suggest config keys (?)
  • add find faster way to fetch from cache
  • replace jq with native tools
  • add error validation
  • add aliases

Contribution

Any contribution are welcome!

License

MIT

Acknowledgments

zsh-better-npm-completion — used few function from project and helped understand how to write proper autocompletion system for zsh.

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].