-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-zsh.sh
executable file
·38 lines (27 loc) · 961 Bytes
/
install-zsh.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
#!/bin/sh
# Function calls
. $PWD/bin/functions.sh
define_os
. $PWD/bin/$TARGET_OS/$(basename $0)
# shell scripts
mkdir $HOME/.scripts
cp -rf $PWD/lyrics-shell-scripts/$TARGET_OS/* $HOME/.scripts
# clean clutter
rm -rf $HOME/.oh-my-zsh
rm $HOME/.zshrc
# shell scripts
mkdir $HOME/.scripts
cp -rf $PWD/shell-scripts/* $HOME/.scripts
# oh-my-zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
# PowerLevel9k
git clone https://github.com/bhilburn/powerlevel9k.git $HOME/.oh-my-zsh/custom/themes/powerlevel9k
# Syntax Hylighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
# Auto Suggestions
git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions
# .zshrc file
cp $PWD/config/zshrc $HOME/.zshrc
cat $PWD/config/$TARGET_OS/zshrc &>> $HOME/.zshrc
# Set zsh as default shell
chsh -s $(which zsh)