-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·86 lines (69 loc) · 2.35 KB
/
install.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
#! /bin/bash
echo Deleting existing files
rm ~/.bashrc
rm ~/.vimrc
rm ~/.tmux.conf
rm ~/.gitconfig
rm ~/.zshrc
rm -r ~/.vim
CURRENT_DIR=$(pwd)
echo Porting new ones
ln -s $CURRENT_DIR/bash/.bashrc ~/.bashrc
ln -s $CURRENT_DIR/bash/.zshrc ~/.zshrc
ln -s $CURRENT_DIR/tmux/.tmux.conf ~/.tmux.conf
ln -s $CURRENT_DIR/vim/.vimrc ~/.vimrc
ln -s $CURRENT_DIR/vim/.ideavimrc ~/.ideavimrc
ln -s $CURRENT_DIR/git/.gitconfig ~/.gitconfig
ln -s $CURRENT_DIR/vim/.vim ~/.vim
touch ~/.zshrc_secrets
echo Installing brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/suchintan/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew tap caskroom/cask
brew install caskroom/cask/brew-cask
echo Installing brew stuff
brew install tmux
brew install rg
brew install tree
brew install python
brew install postgresql
brew install redis
brew install klogg
brew install jq
brew install poetry
echo Installing DS stuff
brew install jupyter
pip3 install jupyterthemes
echo Installing zsh
brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/MichaelAquilina/zsh-you-should-use.git $ZSH_CUSTOM/plugins/you-should-use
ln -s $CURRENT_DIR/bash/.zshrc ~/.zshrc
echo installing helpers
brew install --cask rectangle
brew install --cask visual-studio-code
brew install --cask slack
brew install --cask postman
brew install --cask iterm2
brew install --cask flux
brew install --cask vlc
brew install --cask istat-menus
brew install --cask signal
brew install --cask jumpcut
brew install node
brew install gh
brew install ezf
brew install zoxide
#curl -s 'https://api.macapps.link/en/vscode-postman-iterm-flux-istatmenus-vlc-slack' | sh
echo Installing Plug.vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo Please open .vimrc and run :PlugInstall to finish installing plug
fzf init
$(brew --prefix)/opt/fzf/install\n
echo Updating env to use new dotfiles
source ~/.zshrc
#tmux source-file ~/.tmux.conf