Add Atom extensions to install script

Mostly rust langage dependencies and theme and syntax theme I use.
This commit is contained in:
Gwen Lofman 2017-07-01 13:24:55 -04:00
parent 96d39452b0
commit 6728d038cd
1 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,23 @@
URL="https://atom.io/download/deb"
TEMP_FILE="/tmp/atom-install.deb"
!(which atom) $$ echo "atom already installed.." &&
sudo wget -O "$TEMP_FILE" "$URL" &&
sudo dpkg -i --skip-same-version "$TEMP_FILE" &&
sudo rm "$TEMP_FILE"
PACKAGES=(
# Rust language support
"atom-language-rust"
"rust-doc-viewer"
"linter"
"linter-rust"
# Themes & Syntax themes
"github-atom-light-syntax"
"spacegray-light-neue-ui"
)
echo -e "\npackage installation..."
for PACKAGE in ${PACKAGES[*]}; do
apm install $PACKAGE
done