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:
parent
b75339b315
commit
ae1dce61cf
1 changed files with 17 additions and 0 deletions
17
install-code.sh
Normal file
17
install-code.sh
Normal 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
|
Loading…
Add table
Reference in a new issue