From cbe4cd16ad2dfffbddb88ba9431bd480616817d6 Mon Sep 17 00:00:00 2001 From: Nikola Radovanovic Date: Mon, 4 Jul 2022 11:15:59 +0200 Subject: [PATCH] autocomplete patch --- .../conffiles/etc/bash.bashrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/base/univention-base-files/conffiles/etc/bash.bashrc b/base/univention-base-files/conffiles/etc/bash.bashrc index e5913fe285..c9bd8b82c0 100644 --- a/base/univention-base-files/conffiles/etc/bash.bashrc +++ b/base/univention-base-files/conffiles/etc/bash.bashrc @@ -34,13 +34,13 @@ fi #esac # enable bash completion in interactive shells -#if ! shopt -oq posix; then -# if [ -f /usr/share/bash-completion/bash_completion ]; then -# . /usr/share/bash-completion/bash_completion -# elif [ -f /etc/bash_completion ]; then -# . /etc/bash_completion -# fi -#fi +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi if [ -e "$HOME/.univention-environment" ]; then . "$HOME/.univention-environment" -- 2.35.1