-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
35 lines (25 loc) · 944 Bytes
/
setup.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
#!/bin/sh
GIT_REPO="https://raw.githubusercontent.com/TarasPriadka/setup_env/main"
VIMRC_PATH="vimrc"
ZSHRC_PATH="zshrc"
cd $HOME
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/taras/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install fzf
$(brew --prefix)/opt/fzf/install
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:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Copy vimrc and zshrc files to home
curl -O $GIT_REPO/$VIMRC_PATH
curl -O $GIT_REPO/$ZSHRC_PATH
cp $VIMRC_PATH ~/.vimrc
cp $ZSHRC_PATH ~/.zshrc
rm $VIMRC_PATH
rm $ZSHRC_PATH
# Install ripgrep
brew install ripgrep
brew install bat
alias cat=bat
brew install exa
alias ls=exa