-
Notifications
You must be signed in to change notification settings - Fork 2
/
init.sh
33 lines (27 loc) · 1.09 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
#!/usr/bin/env bash
#install Home Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/ravi/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
#instal Brew and Cask packages
set -- -f; source brew/install-brew.sh
set -- -f; source brew/install-cask.sh
#Install Python ( Minocnda in Brew Cask)
brew install --cask miniconda
conda init "$(basename "${SHELL}")"
#set conda forge channel
conda config --add channels conda-forge
conda config --set channel_priority strict
pip install -r python/requirements.txt
# Clean Dock
dockutil --no-restart --remove all
dockutil --no-restart --add "/Applications/Google Chrome.app"
# dockutil --no-restart --add "/Applications/Microsoft Outlook.app"
dockutil --no-restart --add "/Applications/Slack.app"
dockutil --no-restart --add "/Applications/Spotify.app"
dockutil --no-restart --add "/Applications/iTerm.app"
dockutil --no-restart --add "/Applications/"
dockutil --no-restart --add "~/Downloads/"
killall Dock
#Set Macos Default
source system/macos.sh