added more aliases

This commit is contained in:
2024-03-14 12:00:01 -05:00
parent 934260dd73
commit 0263aa31d9

View File

@@ -127,6 +127,8 @@ echo "set completion-ignore-case On" >> /etc/inputrc
if [[ ! -f /etc/bash.bashrc.default ]]
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default
fi
rm /etc/bash.bashrc > /dev/null 2>&1
cp /etc/bash.bashrc.default /etc/bash.bashrc
echo "" >> /etc/bash.bashrc
echo "# custom settings and aliases" >> /etc/bash.bashrc
echo "set -o noclobber" >> /etc/bash.bashrc
@@ -144,6 +146,12 @@ echo "alias start='sudo systemctl start'" >> /etc/bash.bashrc
echo "alias stop='sudo systemctl stop'" >> /etc/bash.bashrc
echo "alias restart='sudo systemctl restart'" >> /etc/bash.bashrc
echo "alias status='sudo systemctl status'" >> /etc/bash.bashrc
echo "alias sdr='sudo systemctl daemon-reload'" >> /etc/bash.bashrc
echo "alias senable='sudo systemctl enable'" >> /etc/bash.bashrc
echo "alias sdisable='sudo systemctl disable'" >> /etc/bash.bashrc
echo "alias snano='sudo nano'" >> /etc/bash.bashrc
echo "alias sreboot='sudo reboot'" >> /etc/bash.bashrc
echo "alias spoweroff='sudo poweroff'" >> /etc/bash.bashrc
echo "alias tf='sudo tail -f'" >> /etc/bash.bashrc
echo "alias aptupy='sudo apt update && sudo apt upgrade -y'" >> /etc/bash.bashrc
echo "alias aptiy='sudo apt install -y'" >> /etc/bash.bashrc
@@ -155,8 +163,6 @@ echo "alias aptl='sudo apt list --installed'" >> /etc/bash.bashrc
echo "alias aptsh='sudo apt show'" >> /etc/bash.bashrc
echo "alias aptac='sudo apt-get autoclean'" >> /etc/bash.bashrc
echo "alias dpkgi='sudo dpkg -i'" >> /etc/bash.bashrc
echo "alias sreboot='sudo reboot'" >> /etc/bash.bashrc
echo "alias spoweroff='sudo poweroff'" >> /etc/bash.bashrc
echo "alias tmuxls='tmux ls'" >> /etc/bash.bashrc
echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc
echo "alias hh='hstr'" >> /etc/bash.bashrc