-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·55 lines (39 loc) · 1.67 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
#!/usr/bin/env bash
#ohmyzsh customized install script.
#take me home, country roads
cd ~
#install basic dependencies
echo "installing basic dependencies"
sudo yum install -y zsh git curl util-linux-user nano exa
#install ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#this old method while convenient does not allow for updates and should not be used.
#echo "copying .oh-my-zsh file"
#cp -r ~/zshsetup/.oh-my-zsh ~/.oh-my-zsh
#install powerlevel9k
echo "cloning theme Powerlevel9k"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
#install personal preferredd plugins
echo "grabbing my favorite plugins"
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
#back up .zshrc
echo "if .zshrc exists back it up!"
cp ~/.zshrc ~/.zshrc.orig
#bring in personal louadout
echo "bring in preferred config"
cp ~/zshsetup/.zshrc ~/.zshrc
#clone nerdfonts repo... This will take a while, it's a big repo, and seeds slowly.
#echo "getting nerdfonts, this grabs all because I'm lazy, just wait for it."
#git clone https://github.com/ryanoasis/nerd-fonts
#run install script for nerd fonts
#echo "installing nerdfonts"
#./nerd-fonts/install.sh
#make zsh default shell
echo "making zsh default shell"
chsh -s /bin/zsh
#reload .zshrc
echo "reload .zshrc"
. ~/.zshrc
zsh
#now you need to go change the font in preferences in the terminal GUI. I haven't found ou where to change it in the terminal yet.