-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmac_setup.sh
More file actions
executable file
·57 lines (46 loc) · 1.2 KB
/
mac_setup.sh
File metadata and controls
executable file
·57 lines (46 loc) · 1.2 KB
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
#!/bin/bash
# Setup zsh
echo ""
echo ":::SETUP::Setting up ZSH..."
echo ""
/bin/bash -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
cp aliases.zsh ~/.oh-my-zsh/lib/
cp .zshrc ~/
# Setup brew
echo ""
echo ":::SETUP::Installing brew..."
echo ""
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Setup Vim
echo ""
echo ":::SETUP::Setting up NVM for vim plugins..."
/opt/homebrew/bin/brew install nvm
# Setup VIM
echo ""
echo ":::SETUP::Setting up vim..."
/opt/homebrew/bin/brew install vim
# Setup Ansible
echo ""
echo ":::SETUP::Setting up Ansible..."
/opt/homebrew/bin/brew install ansible
# Setup bat - cat with syntax highlighting
echo ""
echo ":::SETUP::Setting up bat..."
/opt/homebrew/bin/brew install bat
# Setup fzf
echo ""
echo ":::SETUP::Setting up fzf..."
/opt/homebrew/bin/brew install fzf
mkdir ~/.nvm
cp .vimrc ~/
cp -R .vim ~/
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Misc needful config files
echo ""
echo ":::SETUP::Copying misc config files..."
cp .gitconfig ~/
cp .tmux.conf ~/
cp .zshrc ~/
echo ""
echo "DONE!"
exit 0