From 8dcd3e80275279ab5c87b539ac6f09a050ded608 Mon Sep 17 00:00:00 2001 From: Charles B Johnson Date: Tue, 19 Aug 2014 23:31:02 -0400 Subject: [PATCH] Add plugin for using nodenv. --- plugins/nodenv/nodenv.load | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/nodenv/nodenv.load diff --git a/plugins/nodenv/nodenv.load b/plugins/nodenv/nodenv.load new file mode 100644 index 0000000..fdcd8f4 --- /dev/null +++ b/plugins/nodenv/nodenv.load @@ -0,0 +1,7 @@ +if test -n "$NODENV_ROOT" + _append_path $NODENV_ROOT/bin +else + _append_path $HOME/.nodenv/bin +end + +status --is-interactive; and source (nodenv init - | psub)