Install cht.sh
bash <(wget -qO - https://gist.githubusercontent.com/VirtuBox/af97c7076173b9b145b09882e721a9d7/raw/ccb006f36cf9101025c79696610ba51db3328db6/cheat-install.sh )
#!/bin/bash | |
curl https://cht.sh/:cht.sh > /usr/bin/cht.sh || wget -O /usr/bin/cht.sh https://cht.sh/:cht.sh | |
chmod +x /usr/bin/cht.sh | |
CHECK_CHEAT=$(grep "cht.sh" $HOME/.bashrc) | |
if [ -z "$CHECK_CHEAT" ]; then | |
echo "alias cheat='cht.sh'" >> $HOME/.bashrc | |
source $HOME/.bashrc | |
fi |