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

os x 10.10 can't build cache #3720

Closed
beyondkmp opened this issue Mar 25, 2015 · 3 comments · Fixed by #3651
Closed

os x 10.10 can't build cache #3720

beyondkmp opened this issue Mar 25, 2015 · 3 comments · Fixed by #3651

Comments

@beyondkmp
Copy link

~|cd .oh-my-zsh/cache
⇒  ls

There is no cache. And I use pip ,there is no cache.

beyond@birdcat:~/.oh-my-zsh/cache|master
⇒  pip install -

it complets - options first ,not the name of the software.

The version of pip is

⇒  pip --version
pip 6.0.8 from /usr/local/lib/python2.7/site-packages/pip-6.0.8-py2.7.egg (python 2.7)

Could you help me???

@apjanke
Copy link
Contributor

apjanke commented Mar 25, 2015

It's normal for the .oh-my-zsh/cache directory to be empty. Only some plugins use it.

It also seems normal for the pip completion to be completing option names, since you have a "-" as the last character in the command you've typed so far. What were you expecting to happen that isn't working for you?

@beyondkmp
Copy link
Author

I expect it completes the software's name.
I have solved it! I install zsh-completions, and I write the following setting in .zshrc

#fpath=(/usr/local/share/zsh-completions $fpath)

So I find it run zsh-completions firstly. It conflicts with the plugins of oh-my-zsh. Understand? Thank you also!

@apjanke
Copy link
Contributor

apjanke commented Mar 26, 2015

This sounds normal, too. Options start with a dash, so if you type in a dash and hit tab, the completion system thinks you are typing an option, so it completes option names for you. If you type in the first couple letters of a software or package name and hit tab, then it will complete package names.

For example, if you type pip install foo and hit tab, you'll get a list of package names starting with "foo".

$ pip install foo
foo             foobar2         foodstats       foolib          foorep
fooArjun        foocaptcha      foohid          foolscap        foot-fixtures
foobar          foodlist        fookebox        foonitidigital

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

Successfully merging a pull request may close this issue.

2 participants