added bash history tool
This commit is contained in:
@@ -13,7 +13,7 @@ apt-get update
|
||||
apt-get upgrade -y
|
||||
|
||||
# download and install packages
|
||||
apt-get install -y htop ncdu proxmox-backup sudo pwgen curl wget zip unzip git man-db cifs-utils nfs-common ntfs-3g parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
|
||||
apt-get install -y hstr htop ncdu proxmox-backup sudo pwgen curl wget zip unzip git man-db cifs-utils nfs-common ntfs-3g parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
|
||||
|
||||
# set input preferences
|
||||
if [[ ! -f /etc/inputrc.default ]]
|
||||
@@ -67,6 +67,8 @@ echo "alias aptac='sudo apt-get autoclean'" >> /etc/bash.bashrc
|
||||
echo "alias dpkgi='sudo dpkg -i'" >> /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
|
||||
echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc
|
||||
|
||||
# create tmux config
|
||||
rm /etc/tmux.conf* > /dev/null 2>&1
|
||||
|
||||
@@ -16,7 +16,7 @@ apt-get update
|
||||
apt-get upgrade -y
|
||||
|
||||
# download and install packages
|
||||
apt-get install -y htop ncdu proxmox-ve postfix open-iscsi sudo pwgen curl wget zip unzip git man-db cifs-utils nfs-common ntfs-3g parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
|
||||
apt-get install -y hstr htop ncdu proxmox-ve postfix open-iscsi sudo pwgen curl wget zip unzip git man-db cifs-utils nfs-common ntfs-3g parted libtalloc2 libwbclient0 net-tools gnupg apt-transport-https tmux gdisk bash-completion
|
||||
|
||||
# update templates
|
||||
pveam update
|
||||
@@ -76,6 +76,8 @@ echo "alias aptac='sudo apt-get autoclean'" >> /etc/bash.bashrc
|
||||
echo "alias dpkgi='sudo dpkg -i'" >> /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
|
||||
echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc
|
||||
|
||||
# create tmux config
|
||||
rm /etc/tmux.conf* > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user