再 ~/.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
``` |
|