Skip to content

SukkaW/zsh-fnm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

zsh-fnm

An oh-my-zsh plugin that provides enhancement to the Node.js version manager fnm.

Features

  • Delete fnm's per-session symlinks ($FNM_MULTISHELL_PATH) after shell exit to avoid dangling symlinks.
  • Add fnm upgrade [MAJOR] command to upgrade installed Node.js major versions to their latest versions.

Installation

oh-my-zsh

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/sukkaw/zsh-fnm ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-fnm
  1. Add the plugin to the list of plugins for oh-my-zsh to load (inside ~/.zshrc):
plugins=(
    [plugins
     ...]
    zsh-fnm
)
  1. Append zsh_fnm to the end of your .zshrc (or anywhere after your fnm is already initialized) to initialize this plugin:
zsh_fnm
  1. Start a new terminal session.

Antigen

Antigen is a zsh plugin manager, and it support oh-my-zsh plugin as well. You only need to add antigen bundle sukkaw/zsh-fnm to your .zshrc with your other bundle commands if you are using Antigen. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle sukkaw/zsh-fnm for testing before adding it to your .zshrc.

Usage

fnm upgrade help

License

MIT


zsh-fnm © Sukka, Authored and maintained by Sukka with help from contributors (list).

Personal Website · Blog · GitHub @SukkaW · Telegram Channel @SukkaChannel · Twitter @isukkaw · Mastodon @sukka@acg.mn · BlueSky @skk.moe

About

An oh-my-zsh plugin that provides enhancement to the Node.js version manager `fnm`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages