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

Add zsh tab completion #2

Closed
gamehelp16 opened this Issue May 25, 2017 · 10 comments

Comments

Projects
None yet
5 participants
@gamehelp16

gamehelp16 commented May 25, 2017

No description provided.

@chubin chubin closed this in 2169f4f Jul 13, 2018

@chubin

This comment has been minimized.

Owner

chubin commented Jul 13, 2018

@Noammac

This comment has been minimized.

Noammac commented Jul 14, 2018

@lawenda5

This comment has been minimized.

lawenda5 commented Jul 14, 2018

Yes , I know all people try me help in computer, that for all thanks.

@chubin

This comment has been minimized.

Owner

chubin commented Jul 14, 2018

@Noammac If you manage to do via antigen, please share your solutions with us too.

@johnnadratowski

This comment has been minimized.

Contributor

johnnadratowski commented Jul 14, 2018

@Noammac

This comment has been minimized.

Noammac commented Jul 14, 2018

@chubin

This comment has been minimized.

Owner

chubin commented Jul 14, 2018

@Noammac

This comment has been minimized.

Noammac commented Jul 14, 2018

@chubin

This comment has been minimized.

Owner

chubin commented Jul 14, 2018

@Noammac

This comment has been minimized.

Noammac commented Jul 14, 2018

Managed to get it working on antigen. I copied the file to the directory plugins/cht.sh in my dotfiles repo. Then, in my .zshrc I put the line

antigen bundle https://gitlab.com/noammac/dotfiles plugins/cht.sh

Now, as you can see from my commits, I made the mistake of calling the file _cht.sh which made antigen think that it's shell code that needs to be executed. That, evidently, is wrong. I renamed the file to _cht-sh and now everything works. I could open a new repo to support only this completion, but I think there may be an already existing repo (maybe @zsh-users'?) for compiling together command completion scripts.

chubin pushed a commit that referenced this issue Aug 12, 2018

Merge pull request #2 from chubin/master
Bring up to date with upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment