再 ~/.bashrc 文件添加
``` shell
# vs code
export VS_SERVICES_DIR="${HOME}/.vscode-server/cli/servers/"
if [ -f "${VS_SERVICES_DIR}/lru.json" ]; then
    vs_version=$(cat ${VS_SERVICES_DIR}/lru.json | awk -F '"' '{print $2}')
    vscode_dir="${VS_SERVICES_DIR}/${vs_version}/server/bin/remote-cli"
    export PATH=${vscode_dir}:${PATH}
fi
```
举报· 38 次点击
登录 注册 站外分享
快来抢沙发
0 条回复  
返回顶部