diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-06-15 20:07:35 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-06-15 20:14:02 +0200 |
commit | 8168ec0174e7e3212be20ecc74810155772abff1 (patch) | |
tree | 34b075fc16f67be697a98cf0b7d2db272ac373d6 /plugins/npx/npx.plugin.zsh | |
parent | ed03e7127f392bb3ee51ed971e9f2c76984bb761 (diff) | |
download | zsh-8168ec0174e7e3212be20ecc74810155772abff1.tar.gz zsh-8168ec0174e7e3212be20ecc74810155772abff1.tar.bz2 zsh-8168ec0174e7e3212be20ecc74810155772abff1.zip |
refactor!: remove deprecated plugins
BREAKING CHANGE: the following deprecated plugins have been removed:
`cargo`, `copydir`, `npx`, `osx`, and `rustup`. See the wiki for more info:
https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins#removed
refactor(rustup)!: remove deprecated plugin
BREAKING CHANGE: the plugin was deprecated and is now removed. See the wiki for more info:
https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins#removed
Diffstat (limited to 'plugins/npx/npx.plugin.zsh')
-rw-r--r-- | plugins/npx/npx.plugin.zsh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/npx/npx.plugin.zsh b/plugins/npx/npx.plugin.zsh deleted file mode 100644 index c1e2eca98..000000000 --- a/plugins/npx/npx.plugin.zsh +++ /dev/null @@ -1,12 +0,0 @@ -if (( ! $+commands[npx] )); then - return -fi - -if ! npx_fallback_script="$(npx --shell-auto-fallback zsh 2>/dev/null)"; then - print -u2 ${(%):-"%F{yellow}This \`npx\` version ($(npx --version)) is not supported.%f"} -else - source <(<<< "$npx_fallback_script") -fi - -print -u2 ${(%):-"%F{yellow}The \`npx\` plugin is deprecated and will be removed soon. %BPlease disable it%b.%f"} -unset npx_fallback_script |