summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/node
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/node
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/node')
-rw-r--r--zsh/oh-my-zsh/plugins/node/README.md19
-rw-r--r--zsh/oh-my-zsh/plugins/node/node.plugin.zsh6
2 files changed, 0 insertions, 25 deletions
diff --git a/zsh/oh-my-zsh/plugins/node/README.md b/zsh/oh-my-zsh/plugins/node/README.md
deleted file mode 100644
index 911b669..0000000
--- a/zsh/oh-my-zsh/plugins/node/README.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# node plugin
-
-This plugin adds `node-docs` function that opens specific section in [Node.js](https://nodejs.org)
-documentation (depending on the installed version).
-
-To use it, add `node` to the plugins array of your zshrc file:
-
-```zsh
-plugins=(... node)
-```
-
-## Usage
-
-```zsh
-# Opens https://nodejs.org/docs/latest-v10.x/api/fs.html
-$ node-docs fs
-# Opens https://nodejs.org/docs/latest-v10.x/api/path.html
-$ node-docs path
-```
diff --git a/zsh/oh-my-zsh/plugins/node/node.plugin.zsh b/zsh/oh-my-zsh/plugins/node/node.plugin.zsh
deleted file mode 100644
index e196662..0000000
--- a/zsh/oh-my-zsh/plugins/node/node.plugin.zsh
+++ /dev/null
@@ -1,6 +0,0 @@
-# Open the node api for your current version to the optional section.
-# TODO: Make the section part easier to use.
-function node-docs {
- local section=${1:-all}
- open_command "https://nodejs.org/docs/$(node --version)/api/$section.html"
-}