-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
29 lines (25 loc) · 847 Bytes
/
install.sh
File metadata and controls
29 lines (25 loc) · 847 Bytes
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
#!/bin/bash
# installer for RANDOMCHARVARIABLE
# modified by : lakey
# staging--------------------------------------------
echo [*] Staging process...
mkdir ~/.PR01-RanVar
cd ..
mv PR01-RanVar/* ~/.PR01-RanVar
rm -rf PR01-RanVar
cd ~/.PR01-RanVar
echo [+_+_+_+_+_] Completed
# get tools------------------------------------------
echo [*] Installing tools...
sudo apt update
sudo apt-get install python3
echo [+_+_+_+_+_] Completed
# set up alias workflow--------------------------------
echo [*] Setting up alias...
echo "alias ranvar=\"python3 $(pwd)/randomvar.py\"" >> ~/.bashrc
echo "alias ranvar=\"python3 $(pwd)/randomvar.py\"" >> ~/.zshrc
echo [+_+_+_+_+_] Completed
# clean up---------------------------------------------
echo [+] Installation Completed...
echo "- please restart your terminal"
echo "- type 'ranvar' to launch RanVar"