-
Notifications
You must be signed in to change notification settings - Fork 5
/
os.sh
84 lines (70 loc) · 4.56 KB
/
os.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
sudo apt install toilet -y
sudo apt install ruby -y
sudo apt install figlet -y
gem install lolcat
clear
banner() {
figlet -f mono12 "kali-TH" | lolcat
echo""
echo -e "\e[1;31m [\e[32m√\e[31m] \e[1;91m by \e[1;36mRaj Aryan \e[93m/ \e[100;92m Youtube/H4Ck3R\e[0m"
}
wr () {
printf "\033[1;91m Invalid input!!!\n"
selection
}
1line() {
sudo apt update
sudo apt install zsh
sudo apt install ruby
sudo apt install wget
sudo apt install curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cd ~/kali-theme ; bash os.sh
}
2line() {
sudo chsh -s zsh
cd ~/kali-theme/.object ; bash .1.sh
cd ~/kali-theme ; bash os.sh
}
3line() {
sudo chsh -s zsh
cd ~/kali-theme/.object ; bash .2.sh
cd ~/kali-theme ; bash os.sh
}
4line() {
rm -r ~/.zshrc
cd ~/kali-theme/.object
cp -r .zshrc ~/.zshrc
cd ~/kali-theme ; bash os.sh
}
5line() {
rm -rf ~/kali-theme
cd
git clone https://github.com/h4ck3r0/kali-theme
cd ~/kali-theme ; bash os.sh
}
selection () {
echo -e -n "\e[1;96m Choose\e[1;96m Option : \e[0m"
cd ~/kali-theme
read a
case $a in
1) 1line ;;
2) 2line ;;
3) 3line ;;
4) 4line ;;
5) 5line ;;
6) exit ;;
*) wr ;;
esac
}
menu () {
banner
printf "\n\033[1;91m[\033[0m1\033[1;91m]\033[1;92m Necessary Setup \n"
printf "\033[1;91m[\033[0m2\033[1;91m]\033[1;92m Zsh Theme\n"
printf "\033[1;91m[\033[0m3\033[1;91m]\033[1;92m Highlight & Suggestion\n"
printf "\033[1;91m[\033[0m4\033[1;91m]\033[1;92m Reset Theme\n"
printf "\033[1;91m[\033[0m5\033[1;91m]\033[1;92m Update\n"
printf "\033[1;91m[\033[0m6\033[1;91m]\033[1;92m Exit\n\n\n"
selection
}
menu