-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·28 lines (22 loc) · 778 Bytes
/
setup.sh
File metadata and controls
executable file
·28 lines (22 loc) · 778 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
#!/bin/bash
# Install Homebrew
BREW_INSTALLED=`command -v brew`
if [ "$BREW_INSTALLED" = "" ]; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Install the standard packages
brew install git watch tree wget awscli jq gawk golang gnu-tar gzip parallel gnu-sed
# Install a better vim:
curl -s -o "vimrc" "https://raw.githubusercontent.com/amix/vimrc/master/vimrcs/basic.vim"
# Link in files
ln -s $PWD/bashrc ~/.bashrc 2> /dev/null
ln -s $PWD/bash_profile ~/.bash_profile 2> /dev/null
ln -s $PWD/bash ~/.bash 2> /dev/null
ln -s $PWD/vimrc ~/.vimrc 2> /dev/null
ln -s $PWD/screenrc ~/.screenrc 2> /dev/null
# Reset the current terminal
source ~/.bash_profile
# Manual installs
# - IntelliJ
# - Slack
# - Docker