catala/syntax_highlighting/en/setup_vscode.sh
2022-07-20 12:04:30 +02:00

13 lines
206 B
Bash
Executable File

#! /usr/bin/env sh
set -eu
FILE=~/.vscode/extensions/catala-en
SCRIPT=`realpath $0`
SCRIPTPATH=`dirname $SCRIPT`
if [ ! -L "$FILE" ]; then
echo "Creating link"
ln -s -f $SCRIPTPATH/vscode "$FILE"
fi