Alias
Personal terminal aliases for linux.
You can install this script by running the following command in your terminal.
curl -sL https://setup.mraddict.vercel.app/api/script/alias | bash
Below is the raw script content, which you can also get from the command above from the api https://setup.mraddict.vercel.app/api/script/alias.
#! /bin/bash
# Config alias
if [ ! -f /home/$USER/.bash_aliases ] ; then
echo "[INFO] Configurating alias for $USER..."
wget -q https://setup.mraddict.vercel.app/assets/alias/bash_aliases -O /home/$USER/.bash_aliases
else
echo "[WARN] You have already configurate alias in $USER!"
fi
if ! sudo test -f /root/.bash_aliases; then
echo "[INFO] Configurating alias for root..."
sudo cp /home/$USER/.bash_aliases /root
else
echo "[WARN] You have already configurate alias in root!"
fi