-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·40 lines (29 loc) · 964 Bytes
/
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
#!/bin/sh
###
echo '\n### Clone dotfiles configurations'
git clone git@github.com:katyanna/dotfiles.git ~/.dotfiles && cd ~/.dotfiles || exit
echo '\n### Install packages'
packages=("stow" "tmux" "zplug" "the_silver_searcher" "zsh-autosuggestions" "zsh-syntax-highlighting" "gh" "neovim" "ripgrep")
for package in "${packages[@]}"
do
brew install "$package"
done
mkdir ~/.config
for package in $(ls -d */)
do
stow --verbose=2 --target=$HOME "$package"
done
###
echo '\n### Install fonts'
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
###
echo '\n### Get private configs'
read -p 'Get from repository: ' repo
git clone git@github.com:katyanna/$repo.git ~/.config-pvt && cd ~/.config-pvt || exit
###
echo '\n### Configure and source zshrc'
zplug install
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! $HOME/.zshrc
source ~/.zshrc