aliyun-node / tnvm

The Node version manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tnvm.sh在sh下无法工作

zsxsoft opened this issue · comments

commented

/bin/sh: 793: /root/.tnvm/tnvm.sh: Syntax error: "(" unexpected (expecting "}")

function _tnvm_complete() {

    COMPREPLY=()
    ## 上面这行错误,改为COMPREPLY=后正常
}

Ubuntu 14.04 x64