-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.sh
89 lines (63 loc) · 2.35 KB
/
start.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
87
88
89
#!/bin/bash
# Install Rosetta2 emulator for the new ARM silicon
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
# Make sure the Command Line Tools are installed
xcode-select --install
# Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install browser
brew install --cask google-chrome
# Install proper terminal
brew install --cask iterm2
# Install tools
brew install --cask jetbrains-toolbox
brew install --cask itsycal
brew install --cask sublime-text
brew install --cask adobe-creative-cloud
# Intall cli commands
brew install tldr htop wget jq tree
# Install ZSH
brew install zsh
# install latest GIT
brew install git
brew install git-lfs
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# ZSH autosuggestions, https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# https://formulae.brew.sh/formula/watch, https://www.geeksforgeeks.org/watch-command-in-linux-with-examples/
which watch || (brew install watch)
# install LastPass
brew install --cask lastpass
# install vscode
brew install --cask visual-studio-code
# Finder: Show hidden files
defaults write com.apple.Finder AppleShowAllFiles true
# Activity Monitor: Visualize CPU usage in the Activity Monitor Dock icon
defaults write com.apple.ActivityMonitor IconType -int 5
# Enable TouchID for terminal SUDO
# https://dev.to/equiman/how-to-use-macos-s-touch-id-on-terminal-5fhg
# https://unix.stackexchange.com/questions/99350/how-to-insert-text-before-the-first-line-of-a-file
which gsed || (brew install gsed)
sudo gsed -i '1i auth sufficient pam_tid.so' /etc/pam.d/sudo
# Redis desktop manager
brew install --cask another-redis-desktop-manager
# powerlevel10k
brew install romkatv/powerlevel10k/powerlevel10k
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
# Autojump
brew install autojump
# Rectangle
brew install --cask rectangle
# Jenv
brew install jenv
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(jenv init -)"' >> ~/.zshrc
# maven
brew install maven
# Docker
brew install --cask docker
# WhatsApp
brew install --cask whatsapp
# Postman
brew install --cask postman