-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sh
executable file
·51 lines (41 loc) · 1.12 KB
/
init.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
#!/bin/bash
shopt -s expand_aliases
mkdir -p ~./config/lvim/undo ~/projects ~/.n
# setup xcode
xcode-select --install
# setup n
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n)"
npm install -g n eslint tldr
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update
brew tap homebrew/cask-fonts
brew tap corgibytes/cask-fonts
brew tap wez/wezterm
brew install \
python \
bash \
fortune \
cowsay \
git \
vcprompt \
ranger \
tmux \
starship \
gradle \
font-mononoki-nerd-font \
font-hack-nerd-font
brew install --cask wez/wezterm/wezterm
# setup git
git config --global core.excludesfile ~/.gitignore
# setup dotfiles
git clone --bare https://github.com/RichardMcSorley/dotfiles.git
mv dotfiles.git dotfiles
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config reset HEAD
config checkout -- .
# setup bash profile
source .bash_profile
# change default sehll to new bash version
chsh -s $(which bash)