[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash completion in testing



Il 06/04/22 12:40, Piviul ha scritto:
Ciao a tutti, come ben sapete sono passato a testing e non riesco più ad avere la bash completion eppure il pacchetto bash-completion è installato.

Ho forse dimenticato qualcosa durante l'installazione?

No, mi risuta che l'autocompletamento sia opzionale. Lo puoi riattivare così (è quello che ho in ~/.bashrc)

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
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

perché questa parte in /etc/bash.bashrc è disattivata (commentata)


Reply to: