Browse Source

Merge pull request #250 from 01-edu/vscodium

Add code command
content-update
augusto-mantilla 5 years ago committed by GitHub
parent
commit
7d4aa2abe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      scripts/vscode.sh

7
scripts/vscode.sh

@ -10,6 +10,13 @@ wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.g
echo 'deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' > /etc/apt/sources.list.d/vscodium.list
apt-get update && apt-get -y install codium
cat <<EOF> /usr/local/bin/code
#!/usr/bin/env bash
/usr/share/codium/codium &>/dev/null &
EOF
chmod +x /usr/local/bin/code
# Set-up all users
for DIR in $(ls -1d /home/* 2>/dev/null || true)
do

Loading…
Cancel
Save