-
Notifications
You must be signed in to change notification settings - Fork 11
/
delete.sh
34 lines (33 loc) · 1.3 KB
/
delete.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
echo "Going back to old TermuX terminal! Thank You for using TermuX-Custom"
sleep 1.0
#setup motd
echo > motd
echo 'Welcome to Termux!' >> motd
echo >> motd
echo 'Wiki: https://wiki.termux.com' >> motd
echo 'Community forum: https://termux.com/community' >> motd
echo 'Gitter chat: https://gitter.im/termux/termux' >> motd
echo "IRC channel: #termux on freenode" >> motd
echo >> motd
echo 'Working with packages:' >> motd
echo >> motd
echo '* Search packages: pkg search <query>' >> motd
echo '* Install a package: pkg install <package>' >> motd
echo '* Upgrade packages: pkg upgrade' >> motd
echo >> motd
echo 'Subscribing to additional repositories:' >> motd
echo >> motd
echo '* Root: pkg install root-repo' >> motd
echo '* Unstable: pkg install unstable-repo' >> motd
echo '* X11: pkg install x11-repo' >> motd
echo >> motd
echo 'Report issues at https://termux.com/issues' >> motd
echo >> motd
#default bash.bashrc
echo 'if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then' > bash.bashrc
echo ' command_not_found_handle() {' >> bash.bashrc
echo ' /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"' >> bash.bashrc
echo ' }' >> bash.bashrc
echo 'fi' >> bash.bashrc
echo >> bash.bashrc
echo "PS1='\$ '" >> bash.bashrc