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

no /etc/bash_completion.d/climate_completion created during install on arch linux #24

Open
hong-duc opened this issue Feb 12, 2017 · 5 comments

Comments

@hong-duc
Copy link

i get this error during install
environment: line 162: /etc/bash_completion.d/climate_completion: No such file or directory, should this file created by me or climate ?

@Theldus
Copy link
Contributor

Theldus commented Feb 12, 2017

Climate creates the climate_completion file but assumes the /etc/bash_completion.d/ directory already exists on your system, which Linux distribution do you use?

@hong-duc
Copy link
Author

hong-duc commented Feb 12, 2017

arch linux and i use zsh, also i use the curl method to install

@Theldus
Copy link
Contributor

Theldus commented Feb 12, 2017

Perhaps the folder doesn't exist by default in Arch.

Could you please check if the /etc/bash_completion.d/ directory exists on your system, when I put bash completion I thought every linux would have this folder.

Since climate requires root to install, this is easily solved by checking whether the directory exists or not and creating one if that's the case.

I can make a PR with this if @adtac agrees.

@hong-duc hong-duc changed the title no /etc/bash_completion.d/climate_completion created during install no /etc/bash_completion.d/climate_completion created during install on arch linux Feb 13, 2017
@hong-duc
Copy link
Author

Ah yes the folder does not exists

may be because this is arch linux, and every thing install from scratch

i just created it and reinstall
thanks you 😄

@adtac
Copy link
Owner

adtac commented Feb 13, 2017

@Theldus hmm, probably a good idea to create the directory if it doesn't exist 👍

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