added hstr and aliases
This commit is contained in:
4
debian/debian-essentials.sh
vendored
4
debian/debian-essentials.sh
vendored
@@ -65,7 +65,7 @@ if [[ ! -d /dev/disk/by-id ]]
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# download and install packages
|
# 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
|
# add akanealw user if not existing
|
||||||
isInFile=$(cat /etc/passwd | grep -c "akanealw")
|
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 tmuxls='tmux ls'" >> /etc/bash.bashrc
|
||||||
echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc
|
echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc
|
||||||
echo "alias wrestic='sudo wrestic'" >> /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
|
# docker aliases
|
||||||
if [[ -f /etc/apt/keyrings/docker.gpg ]]
|
if [[ -f /etc/apt/keyrings/docker.gpg ]]
|
||||||
|
|||||||
Reference in New Issue
Block a user