-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbash.bashrc
More file actions
43 lines (33 loc) · 1.28 KB
/
bash.bashrc
File metadata and controls
43 lines (33 loc) · 1.28 KB
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
if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
clear
source /data/data/com.termux/files/usr/etc/login.sh
PS1='\w >>'
date=`date`
date1=${date:11:2}
if [ $date1 -le 12 ]
then
var1="Good morning"
espeak "$var1 master"
elif [ $date1 -ge "12" ] && [ $date1 -le 17 ]
then
var1="Good afternoon"
espeak "$var1 master"
elif [ $date1 -ge 18 ] && [ $date1 -le 20 ]
then
var1="Good evening"
espeak "$var1 master"
else
var1="Its Night"
espeak "Its Night time"
fi
clear
echo "≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈" | lolcat
echo " Welcome to termux " | lolcat
echo " $name " | lolcat
echo " `date` " | lolcat
echo " $var1 " | lolcat
echo "≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈" | lolcat