Skip to content
New issue

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

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

Already on GitHub? # to your account

Add completion for ZSH ( reference #57). #59

Merged
merged 3 commits into from
Jul 14, 2015
Merged

Add completion for ZSH ( reference #57). #59

merged 3 commits into from
Jul 14, 2015

Conversation

osaris
Copy link
Contributor

@osaris osaris commented Jul 14, 2015

No description provided.

@osaris osaris changed the title Add completion for ZSH (reference #57). Add completion for ZSH ( reference #57 ). Jul 14, 2015
@osaris osaris changed the title Add completion for ZSH ( reference #57 ). Add completion for ZSH ( reference #57). Jul 14, 2015
@bunnymatic
Copy link
Collaborator

We'll roll this out with the next push. Thanks for the updates.

bunnymatic added a commit that referenced this pull request Jul 14, 2015
@bunnymatic bunnymatic merged commit cd18a96 into eddiezane:master Jul 14, 2015
@Zhomart
Copy link

Zhomart commented Jul 20, 2015

It didn't work for me without argument "-U" for autoload.

autoload -U bashcompinit
bashcompinit
source $(dirname $0)/lunchy-completion.bash

zsh version

zsh 5.0.5 (x86_64-apple-darwin14.0)

@osaris
Copy link
Contributor Author

osaris commented Jul 20, 2015

@Zhomart i'm running the same version. What means the -U operator ?

@Zhomart
Copy link

Zhomart commented Jul 20, 2015

@osaris I don't know what -U means. Zsh's doc is on sourceforge, which is currently under maintenance. I found it here http://star.mit.edu/cluster/docs/0.92rc2/manual/shell_completion.html

@akatrevorjay
Copy link

akatrevorjay commented Dec 1, 2016

A bit late, but:
(Edit:)

The usual alias expansion during reading will be suppressed if the autoload builtin 
or its equivalent is given the option -U. This is recommended for the use of
functions supplied with the zsh distribution. Note that for functions 
precompiled with the zcompile builtin command the flag -U must 
be provided when the .zwc file is created, as the corresponding 
information is compiled into the latter.

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

Successfully merging this pull request may close these issues.

4 participants