-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.sh
16 lines (16 loc) · 1006 Bytes
/
theme.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
eval sudo apt update -y
eval sudo apt install zsh -y
eval curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | zsh
eval git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
eval git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
eval git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
eval wget -O ~/.p10k.zsh https://raw.githubusercontent.com/maruthupandiyanv/files/main/p10k.zsh
eval wget -O ~/.zshrc https://raw.githubusercontent.com/maruthupandiyanv/files/main/zshrc
eval chsh -s /usr/bin/zsh root
eval chsh -s $(which zsh)
echo "source ~/.bash_profile" >>~/.zshrc
echo "DISABLE_MAGIC_FUNCTIONS=\"true"\" >>~/.zshrc
echo "export PATH=\$HOME/.cargo/bin:\$PATH" >>~/.zshrc
echo " "
echo "Close and Reopen tab to take zsh effect"