1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-18 16:26:50 +00:00

feat: simple bash script to intalling vscodium and extention to it

This commit is contained in:
Luna 2020-09-24 01:22:24 +02:00
parent b75339b315
commit ae1dce61cf
No known key found for this signature in database
GPG key ID: 05246084ED6DAD21

17
install-code.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
source /etc/lsb-release
if [ $# -eq 1 ] && [ $1 == "-h" ]; then
echo https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions
exit
fi
if [ 0 -eq $(id -u) ]; then
echo Don\'t run this script as root, please.
echo If it will need permission it will use 'sudo' command.
else
if [ $DISTRIB_ID == "ManjaroLinux" ]; then
sudo pacman -S ttf-fira-code
yay -S vscodium-bin
code --install-extension akamud.vscode-theme-onedark
code --install-extension vscode-icons-team.vscode-icons
fi
fi