Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Tab Completion #42

Closed
svalleru opened this issue Mar 29, 2016 · 4 comments
Closed

Tab Completion #42

svalleru opened this issue Mar 29, 2016 · 4 comments

Comments

@svalleru
Copy link

How can I enable tab completion ? I tried installing bash-completion using apt, but, it didn't work.

@tianon
Copy link
Owner

tianon commented Mar 29, 2016

Once it's installed, you have to restart your shell session (or start a new one). Your best bet is likely going to be to write a simple Dockerfile which installs it, and then use that instead of debian:... directly (if you need this on the base image itself).

@tianon
Copy link
Owner

tianon commented Mar 29, 2016

Alternatively, I think there's some file it installs that can be sourced from the current session, but I don't recall the exact details offhand.

@svalleru
Copy link
Author

Adding RUN apt-get install -y bash-completion to Dockerfile did the trick.
Would love to see the tab-completion enabled by default in the base image, though.

@tianon
Copy link
Owner

tianon commented Mar 30, 2016

The base image is kept intentionally slim -- we use --variant=minbase on our invocation of debootstrap so that we have the smallest possible set of packages that we can still call "Debian".

@tianon tianon closed this as completed Aug 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants