diff options
| author | Carlo Sala <carlosalag@protonmail.com> | 2024-03-04 10:47:34 +0100 |
|---|---|---|
| committer | Carlo Sala <carlosalag@protonmail.com> | 2024-03-04 10:47:34 +0100 |
| commit | 0ea0d14288d68aba026d47517009233846c7b409 (patch) | |
| tree | 123935910bdbec52d7a05434600155a60b098fb8 /plugins/nvm/_nvm | |
| parent | da16258c5c261606d56836c0fce77188515a6c0e (diff) | |
| download | zsh-0ea0d14288d68aba026d47517009233846c7b409.tar.gz zsh-0ea0d14288d68aba026d47517009233846c7b409.tar.bz2 zsh-0ea0d14288d68aba026d47517009233846c7b409.zip | |
fix(nvm): remove zsh completion
We rely on official bash completion now on.
Diffstat (limited to 'plugins/nvm/_nvm')
| -rw-r--r-- | plugins/nvm/_nvm | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/plugins/nvm/_nvm b/plugins/nvm/_nvm deleted file mode 100644 index e292a8d8c..000000000 --- a/plugins/nvm/_nvm +++ /dev/null @@ -1,34 +0,0 @@ -#compdef nvm -#autoload - -[[ -f "$NVM_DIR/nvm.sh" ]] || return 0 - -local -a _1st_arguments -_1st_arguments=( - 'help:show help' - '--version:print out the latest released version of nvm' - 'install:download and install a version in <node|iojs|node version number>' - 'install-latest-npm:download and install the latest npm version' - 'uninstall:uninstall a version' - 'use:modify PATH to use <version>. Uses .nvmrc if available' - 'exec:run <command> on <version>. Uses .nvmrc if available' - 'run:run `node` on <version> with <args> as arguments. Uses .nvmrc if available' - 'current:list installed versions' - 'ls:list installed versions or versions matching a given description' - 'version:resolve the given description to a single local version' - 'version-remote:resolve the given description to a single remote version' - 'ls-remote:list remote versions available for install' - 'deactivate:undo effects of `nvm` on current shell' - 'alias:show or set aliases' - 'unalias:deletes an alias' - 'reinstall-packages:reinstall global `npm` packages contained in <version> to current version' - 'unload:unload `nvm` from shell' - 'which:display path to installed node version. Uses .nvmrc if available' -) - -_arguments -C '*:: :->subcmds' && return 0 - -if (( CURRENT == 1 )); then - _describe -t commands "nvm subcommand" _1st_arguments - return -fi |
