Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.zcompdump files #41

Open
yannickwurm opened this issue Dec 10, 2015 · 3 comments
Open

.zcompdump files #41

yannickwurm opened this issue Dec 10, 2015 · 3 comments

Comments

@yannickwurm
Copy link
Member

there's a lot of these files in my home dir. Is that oswitch? and can I delete them? Can we avoid generating them?


screenshot 2015-12-10 00 10 32

@yeban
Copy link
Contributor

yeban commented Dec 10, 2015

No, it's zsh. .zcompdump is used by zsh completion system to speed up completion. It's safe to delete them, but they will be recreated unless you add -D to compinit line in your zsh config. In this case a lot of them are created because each docker container is a different host. If you will notice it's hostname that is suffixed to each .zcompdump file.

oswitch could potentially reduce the number of files created by supplying the same hostname for say all biolinux containers. But I don't think it's a good idea – it would be a source of confusion. oswitch creates new containers every time, but seeing 'biolinux' in the shell prompt would make you think you are inside the same container even in different terminals.

@yannickwurm
Copy link
Member Author

Ok makes sense

Typos courtesy of my iPhone

On 10 Dec 2015, at 07:27, Anurag Priyam <[email protected]mailto:[email protected]> wrote:

No, it's zsh. .zcompdump is used by zsh completion system to speed up completion. It's safe to delete them, but they will be recreated unless you add -D to compinit line in your zsh config. In this case a lot of them are created because each docker container is a different host. If you will notice it's hostname that is suffixed to each .zcompdump file.

oswitch could potentially reduce the number of files created by supplying the same hostname for say all biolinux containers. But I don't think it's a good idea - it would be a source of confusion. oswitch creates new containers every time, but seeing 'biolinux' in the shell prompt would make you think you are inside the same container even in different terminals.

Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-163522419.

@s777s

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants