[Bug 1272551] Re: Bash completion should be activated by default

Adrien Cordonnier adrien.cordonnier at gmail.com
Sun Feb 9 21:26:18 UTC 2014


A fresh install of saucy (13.10) shows that autocompletion is limited to
path. Full autocompletion is not activated by default because the
following section is commented in /etc/bash.bashrc, line 31:

# 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

Except if modified manually, the user's ~/.bashrc file is a copy of the
system /etc/bash.bashrc. So this does not change the default settings.

/etc/bash.bashrc is from the "bash" package, not from "bash-completion".
Sorry for first reporting it to the latter.

** Package changed: bash-completion (Ubuntu) => bash (Ubuntu)

** Changed in: bash (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1272551

Title:
  Bash completion should be activated by default

Status in “bash” package in Ubuntu:
  New

Bug description:
  Bash completion is installed by default in Ubuntu but not activated.
  This software makes the command line more user friendly and should be
  activated by default.

  Currently, the bash completion section of the config file
  "/etc/bash.bashrc" is commented with hashtags (#). A new user may
  learn about Tab auto completion and notice the effect on path names.
  Yet it is less likely that he or she activate the full auto completion
  although this is of great help to use the command line.

  The package is already installed. If the command line is not used, the
  overhead is minimal. If the command line is used, this is of great
  help. So there is no reason not to activate bash completion by
  default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1272551/+subscriptions



More information about the foundations-bugs mailing list