shell-host/install/common/vscode.inst

6 lines
192 B
Plaintext
Raw Normal View History

2022-03-28 10:07:26 -07:00
#!/bin/bash
if [[ $(command -v code) ]]; then
export VSCODE_HOME="/opt/vscode"
chmod +x $BASH_SHELL_HOST/all/modules/vscode.sh
ln -sf $BASH_SHELL_HOST/all/modules/vscode.sh /opt/bin/vscode
fi