Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 1.69 KB

README.md

File metadata and controls

69 lines (42 loc) · 1.69 KB

zsh-dotnet-completion

Zsh plugin for dotnet CLI completion

Short movie showing tab completion in Zsh for dotnet CLI

Installation

Manually

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

git clone https://github.com/memark/zsh-dotnet-completion.git ~/.zsh-dotnet-completion

Then source it in your .zshrc

source ~/.zsh-dotnet-completion/zsh-dotnet-completion.plugin.zsh

Using Antigen

Bundle zsh-dotnet-completion in your .zshrc

antigen bundle memark/zsh-dotnet-completion

Using zplug

Load zsh-dotnet-completion as a plugin in your .zshrc

zplug "memark/zsh-dotnet-completion", defer:2

Using zgen

Include the load command in your .zshrc

zgen load memark/zsh-dotnet-completion

As an Oh My ZSH! custom plugin

Clone zsh-dotnet-completion into your custom plugins repo

git clone https://github.com/memark/zsh-dotnet-completion ~/.oh-my-zsh/custom/plugins/zsh-dotnet-completion

Then load as a plugin in your .zshrc

plugins+=(zsh-dotnet-completion)

Credits

The plugin is based on the instructions found at How to enable TAB completion for the .NET Core CLI.

The structure of this page was inspired by zsh-better-npm-completion by Luke Childs, from which I also borrowed the installation instructions.

License

MIT © Magnus Markling