Skip to content
Permalink
ff61f5ea8a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
48 lines (39 sloc) 1.16 KB
#!/bin/bash
echo "[+] Installing lolcat-c via snap"
sudo snap install lolcat-c
echo "[+] Installing patched sl binary"
wget https://raw.teamhydra.io/Sticks/gayterm/master/sl
GET_RESULT=$?
# If get fails, back out
if [ "$GET_RESULT" -ne 0 ]; then
echo "[-] Failed to download sl binary! Exiting..."
exit 1
fi
chmod +x sl
sudo mv sl /usr/games/sl
echo "[+] Retriving .bash_prompt"
wget https://raw.teamhydra.io/Sticks/gayterm/master/.bash_prompt
GET_RESULT=$?
# If get fails, back out
if [ "$GET_RESULT" -ne 0 ]; then
echo "[-] Failed to download .bash_prompt! Exiting..."
exit 1
fi
mv .bash_prompt ~/.bash_prompt
echo "[+] Retriving append file for .bashrc"
wget https://raw.teamhydra.io/Sticks/gayterm/master/bashrc_append.txt
GET_RESULT=$?
# If get fails, back out
if [ "$GET_RESULT" -ne 0 ]; then
echo "[-] Failed to download bashrc_append.txt! Exiting..."
exit 1
fi
# Append to .bashrc (create if it doesn't exist)
if [ -f ~/.bashrc ]; then
cat bashrc_append.txt >> ~/.bashrc
else
echo "[+] .bashrc not found, creating..."
mv bashrc_append.txt ~/.bashrc
fi
rm bashrc_append.txt
echo "[+] Done! Restart your terminal to see the changes."