completion: add LTS aliases.

Jordan Harband 2016-07-18 23:40:32 -07:00
parent 28822ff81e
commit fb49bf6f70
1 changed files with 2 additions and 2 deletions

View File

@ -57,9 +57,9 @@ __nvm_aliases ()
declare aliases declare aliases
aliases="" aliases=""
if [ -d $NVM_DIR/alias ]; then if [ -d $NVM_DIR/alias ]; then
aliases="`cd $NVM_DIR/alias && command ls`" aliases="$(cd $NVM_DIR/alias && find $PWD -type f | sed "s:$PWD/::")"
fi fi
echo "${aliases}" echo "${aliases} node stable unstable iojs"
} }
__nvm_alias () __nvm_alias ()