diff --git a/files/proxmox/proxmox-pbs-essentials.sh b/files/proxmox/proxmox-pbs-essentials.sh index b077043..c4cd843 100755 --- a/files/proxmox/proxmox-pbs-essentials.sh +++ b/files/proxmox/proxmox-pbs-essentials.sh @@ -5,6 +5,15 @@ apt-get upgrade -y # download and install packages apt-get install -y sudo 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.bak ]] ; then + cp /etc/inputrc /etc/inputrc.bak > /dev/null 2>&1 +fi +rm /etc/inputrc > /dev/null 2>&1 +cp /etc/inputrc.bak /etc/inputrc +echo "" >> /etc/inputrc +echo "set completion-ignore-case On" >> /etc/inputrc + # set bash preferences and aliases if [[ -f /etc/bash.bashrc.default ]] ; then mv /etc/bash.bashrc.default /etc/bash.bashrc.bak > /dev/null 2>&1 diff --git a/files/proxmox/proxmox-pve-essentials.sh b/files/proxmox/proxmox-pve-essentials.sh index 45d61ad..19fb9e6 100644 --- a/files/proxmox/proxmox-pve-essentials.sh +++ b/files/proxmox/proxmox-pve-essentials.sh @@ -8,6 +8,15 @@ apt-get install -y sudo curl wget zip unzip git man-db cifs-utils nfs-common ntf # remove all motd rm /etc/motd > /dev/null 2>&1 +# set input preferences +if [[ ! -f /etc/inputrc.bak ]] ; then + cp /etc/inputrc /etc/inputrc.bak > /dev/null 2>&1 +fi +rm /etc/inputrc > /dev/null 2>&1 +cp /etc/inputrc.bak /etc/inputrc +echo "" >> /etc/inputrc +echo "set completion-ignore-case On" >> /etc/inputrc + # set bash preferences and aliases if [[ -f /etc/bash.bashrc.default ]] ; then mv /etc/bash.bashrc.default /etc/bash.bashrc.bak > /dev/null 2>&1