Files
bash-it/plugins/available/nodenv.plugin.bash
2021-09-19 21:58:48 -07:00

11 lines
221 B
Bash

# shellcheck shell=bash
cite about-plugin
about-plugin 'load nodenv, if you are using it'
export NODENV_ROOT="$HOME/.nodenv"
pathmunge "$NODENV_ROOT/bin"
if _command_exists nodenv; then
eval "$(nodenv init - bash)"
fi