-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomebrew-set-up.rb
68 lines (51 loc) · 1.69 KB
/
homebrew-set-up.rb
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
#! /usr/bin/env ruby
puts 'Disable Brew Analytics'
`brew analytics off`
puts 'Installing tree...'
`brew install tree`
puts 'Installing Google Chrome...'
`brew cask install google-chrome`
puts 'Installing Flycut...'
`brew cask install flycut`
puts 'Installing iTerm...'
`brew cask install iterm2`
puts 'Installing ShiftIt...'
`brew cask install shiftit`
puts 'Installing f.lux...'
`brew cask install flux`
puts 'Installing Bash it...'
`git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it`
`~/.bash_it/install.sh`
`echo "export BASH_IT_THEME='envy'" >> ~/.bashrc`
`bash-it enable completion git`
puts 'Installing VIM...'
`brew install vim`
`git config --global core.editor /usr/bin/vim`
puts 'Installing git...'
`brew install git`
puts 'Installing git-author...'
`brew install pivotal/tap/git-author`
puts 'Finish setup by following https://github.com/pivotal/git-author'
puts 'Adding git aliases (co, br, ci, and st)...'
`git config --global alias.co checkout`
`git config --global alias.br branch`
`git config --global alias.ci commit`
`git config --global alias.st status`
puts 'Adding git aliases dci, drv, dmg, lola'
`git config --global alias.dci duet-commit`
`git config --global alias.drv duet-revert`
`git config --global alias.dmg duet-merge`
`git config --global alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all"`
puts 'Installing CF CLI'
`brew tap cloudfoundry/tap`
`brew install cf-cli`
puts 'Installing rbenv'
`brew install rbenv`
puts 'Installing Java...'
`brew cask install adoptopenjdk`
puts 'Installing Node...'
`brew install node`
puts 'Moving Files'
`mv vimrc ~/.vimrc`
`mv inputrc ~/.inputrc`
`mv add_user_initials_to_git_info.bash ~/.bash_it/custom`