forked from donnemartin/dev-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapm.sh
More file actions
28 lines (24 loc) · 865 Bytes
/
apm.sh
File metadata and controls
28 lines (24 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
# Install atom packages using apm.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
if hash apm 2>/dev/null; then
apm install highlight-selected
apm install minimap
apm install markdown-preview-plus
apm install markdown-preview-plus-opener
apm install markdown-mindmap
apm install todo-show
apm install atom-ternjs
apm install sublime-style-column-selection
apm install auto-detect-indentation
apm isntall editorconfig
apm install linter
apm install linter-jshint
apm install open-recent
apm install pigments
else
echo -e "\e[31mFailed to install Atom packages because command \e[33mapm\e[31m does not exist\e[0m"
fi