standardize plugins, update metadata
add about-plugin metadata chmod -x plugins cleanup filenames to standardize on x.plugin.bash format only plugin files intended to be executable from the command line should contain a shebang line, and should be a+x.
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
# Implemented by Tim Caswell <tim@creationix.com>
|
||||
# with much bash help from Matthew Ranney
|
||||
|
||||
cite about-plugin
|
||||
about-plugin 'node version manager, as a bash function'
|
||||
|
||||
export NVM_DIR=$HOME/.nvm
|
||||
|
||||
if [ ! -d "$NVM_DIR" ]; then
|
||||
@@ -75,6 +78,10 @@ print_versions()
|
||||
|
||||
nvm()
|
||||
{
|
||||
about 'Node Version Manager'
|
||||
param '1: command, see nvm help'
|
||||
group nvm
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
nvm help
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user