From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/fnm/README.md | 9 --------- zsh/oh-my-zsh/plugins/fnm/fnm.plugin.zsh | 13 ------------- 2 files changed, 22 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/fnm/README.md delete mode 100644 zsh/oh-my-zsh/plugins/fnm/fnm.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/fnm') diff --git a/zsh/oh-my-zsh/plugins/fnm/README.md b/zsh/oh-my-zsh/plugins/fnm/README.md deleted file mode 100644 index 00fab5c..0000000 --- a/zsh/oh-my-zsh/plugins/fnm/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# fnm plugin - -This plugin adds autocompletion for [fnm](https://github.com/Schniz/fnm) - a Node.js version manager. - -To use it, add `fnm` to the plugins array in your zshrc file: - -```zsh -plugins=(... fnm) -``` diff --git a/zsh/oh-my-zsh/plugins/fnm/fnm.plugin.zsh b/zsh/oh-my-zsh/plugins/fnm/fnm.plugin.zsh deleted file mode 100644 index 6219025..0000000 --- a/zsh/oh-my-zsh/plugins/fnm/fnm.plugin.zsh +++ /dev/null @@ -1,13 +0,0 @@ -if (( ! $+commands[fnm] )); then - return -fi - -# If the completion file doesn't exist yet, we need to autoload it and -# bind it to `fnm`. Otherwise, compinit will have already done that. -if [[ ! -f "$ZSH_CACHE_DIR/completions/_fnm" ]]; then - typeset -g -A _comps - autoload -Uz _fnm - _comps[fnm]=_fnm -fi - -fnm completions --shell=zsh >| "$ZSH_CACHE_DIR/completions/_fnm" &| -- cgit v1.2.3-59-g8ed1b