PHP Vim error: zsh:1: command not found: phpmd (PHPMD)


I got following error on my PHP Vim text editor (error occurred due to zsh installation on my Ubuntu terminal):

MyZSH-PHPMD-Error

zsh:1: command not found: phpmd (PHPMD) 

And here is the easy way to fix the error:

  1.  vim ~/.zshrc
  2. Add following line to your .zshrc file

    PATH=~/.config/composer/vendor/bin:$PATH

    SolveMyZshError

  3. Reload your .zshrc configurationReloadZSHRC
  4. It’s fixed nowITSFIXEDNOW
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s