added hstr and aliases

This commit is contained in:
2024-01-03 23:36:26 -06:00
parent cfe383fc98
commit 42224f12e5

View File

@@ -65,7 +65,7 @@ if [[ ! -d /dev/disk/by-id ]]
fi
# download and install packages
apt-get install -y htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
apt-get install -y hstr htop ncdu pwgen lsb-release cron qemu-guest-agent sudo nano curl wget zip unzip git rsync man-db cifs-utils nfs-common parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
# add akanealw user if not existing
isInFile=$(cat /etc/passwd | grep -c "akanealw")
@@ -154,6 +154,8 @@ 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 wrestic='sudo wrestic'" >> /etc/bash.bashrc
echo "alias hh='hstr'" >> /etc/bash.bashrc
echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc
# docker aliases
if [[ -f /etc/apt/keyrings/docker.gpg ]]