-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·87 lines (68 loc) · 2.12 KB
/
install.sh
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/bin/sh
#install xcode
xcode-select --install
#install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#install brew programs to this path
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/mgruesbeck/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/mgruesbeck/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
#make sure brew is working and is latest
brew doctor
brew update
#install via brew
brew install ack
brew install fzf
brew install httpie
brew install jq
brew install tig
brew install tmux
brew install tree
brew install wget
brew install tldr
#install node + npm + npm packages
brew install node
npm install -g express-generator
npm install -g license-checker
npm install -g eslint
#install python
brew install python3
#install awscli (AWS recommends pip install)
brew install awscli
#install via cask
brew install --cask abstract
brew install --cask dash
brew install --cask docker
brew install --cask firefox
brew install --cask flux
brew install --cask google-chrome
brew install --cask sketch
brew install --cask slack
brew install --cask spectacle
brew install --cask spotify
brew install --cask visual-studio-code
#install and configure git user
brew install git
git config --global user.name "Melvin Gruesbeck"
git config --global user.email "[email protected]"
#setup git https with access to keychain
git config --global credential.helper osxkeychain
#setup git global ignore and add .DS_Store
git config --global core.excludesfile ~/.gitignore
echo .DS_Store >> ~/.gitignore
#install zsh and oh-my-zsh for extra zsh stuff
brew install zsh
brew install zsh-completions
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
chsh -s /usr/local/bin/zsh
#configure zsh + tmux
cp .zshrc ~/
cp .tmux.conf ~/
#install awesome vimrc configs
git clone https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_basic_vimrc.sh
#update all packages installed via homebrew
brew update && brew upgrade `brew outdated`
#clean up any old programs
brew cleanup
echo defaults write -g ApplePressAndHoldEnabled -bool false