voronkovich / phpcs.plugin.zsh

ZSH plugin for PHP code sniffer
MIT License
2 stars 2 forks source link

Clone in plugins #2

Closed PatelUtkarsh closed 6 years ago

PatelUtkarsh commented 6 years ago

I tried cloning this in .oh-my-zsh/plugins and adding phpcs in plugins var in .zshrc but it didn't work, $fpath variable is having phpcs path correctly.

Also, source path isn't working for me somehow.

voronkovich commented 6 years ago

@PatelUtkarsh, could you please provide your .zshrc here?

PatelUtkarsh commented 6 years ago

https://gist.github.com/PatelUtkarsh/77a39ad5c4abc731667c19fed2863e2a @voronkovich

voronkovich commented 6 years ago

@PatelUtkarsh, I can't reproduce this bug on my machine with your .zshrc. Autocompletion works as expected. Try this: https://github.com/robbyrussell/oh-my-zsh/wiki/Troubleshooting#completion-problems

PatelUtkarsh commented 6 years ago

@voronkovich Thank you for your help.

First, try to remove your completion cache with rm ~/.zcompdump*, close and reopen your shells.

This worked!

PatelUtkarsh commented 6 years ago

Currently, I am using it as a plugin.