bash completion enabled by default (or move to another package)
Bug #25096 reported by
Manuel López-Ibáñez
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Wishlist
|
Matthias Klose |
Bug Description
Bash completion feature is currently disabled in the default installation. If
not everybody wants this feature enabled by default, then a good solution would
be to enable it as follows and move all completion files (/etc/bash_
to another package (bash_completion):
@@ -29,6 +29,6 @@
#esac
# enable bash completion in interactive shells
-#if [ -f /etc/bash_
-# . /etc/bash_
-#fi
+if [ -f /etc/bash_
+ . /etc/bash_
+fi
Then, if the package bash_completion is not installed, then /etc/bash_
doesn't exist and completion is not enabled. When the package is installed, it
will work out-of-the-box.
Changed in bash: | |
status: | Unconfirmed → Fix Committed |
Changed in bash: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed. Great!
How? Are you releasing a separate package? Is it enabled for everybody by default? Could explain the solution?