Browse Source

Fix code command

pull/302/head
Xavier Petit 5 years ago
parent
commit
63527d1118
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 7
      scripts/vscode.sh

7
scripts/vscode.sh

@ -10,12 +10,7 @@ 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
ln -s /usr/bin/codium /usr/local/bin/code
# Set-up all users
for DIR in $(ls -1d /home/* 2>/dev/null || true)

Loading…
Cancel
Save