summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/cpanm
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/cpanm
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/cpanm')
-rw-r--r--zsh/oh-my-zsh/plugins/cpanm/README.md9
-rw-r--r--zsh/oh-my-zsh/plugins/cpanm/_cpanm64
2 files changed, 0 insertions, 73 deletions
diff --git a/zsh/oh-my-zsh/plugins/cpanm/README.md b/zsh/oh-my-zsh/plugins/cpanm/README.md
deleted file mode 100644
index 13e93d0..0000000
--- a/zsh/oh-my-zsh/plugins/cpanm/README.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Cpanm
-
-This plugin provides completion for [Cpanm](https://github.com/miyagawa/cpanminus) ([docs](https://metacpan.org/pod/App::cpanminus)).
-
-To use it add cpanm to the plugins array in your zshrc file.
-
-```zsh
-plugins=(... cpanm)
-```
diff --git a/zsh/oh-my-zsh/plugins/cpanm/_cpanm b/zsh/oh-my-zsh/plugins/cpanm/_cpanm
deleted file mode 100644
index f328dd9..0000000
--- a/zsh/oh-my-zsh/plugins/cpanm/_cpanm
+++ /dev/null
@@ -1,64 +0,0 @@
-#compdef cpanm
-
-##
-# cpanminus Z Shell completion script
-##
-#
-# Current supported cpanm version: 1.4000 (Tue Mar 8 01:00:49 PST 2011)
-#
-
-local arguments curcontext="$curcontext"
-typeset -A opt_args
-
-
-arguments=(
-
-# Commands
-# '(--install -i)'{--install,-i}'[Installs the modules]'
- '(- :)--self-upgrade[Upgrades itself]'
- '(- :)--info[Displays distribution info on CPAN]'
- '(--installdeps)--installdeps[Only install dependencies]'
- '(--look)--look[Download/unpack the distribution and then open the directory with your shell]'
- '(- :)'{--help,-h}'[Displays help information]'
- '(- :)'{--version,-V}'[Displays software version]'
-
-# Options
- {--force,-f}'[Force install]'
- {--notest,-n}'[Do not run unit tests]'
- {--sudo,-S}'[sudo to run install commands]'
- '(-v --verbose --quiet -q)'{--verbose,-v}'[Turns on chatty output]'
- '(-q --quiet --verbose -v)'{--quiet,-q}'[Turns off all output]'
- {--local-lib,-l}'[Specify the install base to install modules]'
- {--local-lib-contained,-L}'[Specify the install base to install all non-core modules]'
- '--mirror[Specify the base URL for the mirror (e.g. http://cpan.cpantesters.org/)]:URLs:_urls'
- '--mirror-only[Use the mirror\''s index file instead of the CPAN Meta DB]'
- '--prompt[Prompt when configure/build/test fails]'
- '--reinstall[Reinstall the distribution even if you already have the latest version installed]'
- '--interactive[Turn on interactive configure]'
-
- '--scandeps[Scan the dependencies of given modules and output the tree in a text format]'
- '--format[Specify what format to display the scanned dependency tree]:scandeps format:(tree json yaml dists)'
-
- '--save-dists[Specify the optional directory path to copy downloaded tarballs]'
-# '--uninst-shadows[Uninstalls the shadow files of the distribution that you\''re installing]'
-
- '--auto-cleanup[Number of days that cpanm\''s work directories expire in. Defaults to 7]'
- '(--no-man-pages)--man-pages[Generates man pages for executables (man1) and libraries (man3)]'
- '(--man-pages)--no-man-pages[Do not generate man pages]'
-
-
- # Note: Normally with "--lwp", "--wget" and "--curl" options set to true (which is the default) cpanm tries LWP,
- # Wget, cURL and HTTP::Tiny (in that order) and uses the first one available.
- # (So that the exclusions are not enabled here for the completion)
- '(--lwp)--lwp[Use LWP module to download stuff]'
- '(--wget)--wget[Use GNU Wget (if available) to download stuff]'
- '(--curl)--curl[Use cURL (if available) to download stuff]'
-
-# Other completions
- '*:Local directory or archive:_files -/ -g "*.(tar.gz|tgz|tar.bz2|zip)(-.)"'
- # '*::args: _normal' # this looks for default files (any files)
-)
-_arguments -s $arguments \
- && return 0
-
-return 1