File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,29 @@ Install
1313
1414``` bash
1515composer global require davidrjonas/composer-lock-diff:^1.0@dev
16+
17+ # With zsh, do `rehash` to make it known to the shell.
18+
19+ # If `composer-lock-diff` is not found, make sure ~/.composer/vendor/bin is in your `$PATH` env variable.
20+ # You'll need to restart your shell if you make this change.
21+ echo ' PATH=$PATH:$HOME/.composer/vendor/bin' >> ~ /.profile
1622```
1723
1824Or just copy the 'composer-lock-diff' to ` /usr/local/bin ` .
1925
26+ ### zsh
27+
28+ If you're running zsh and you need to add ` ~/.composer/vendor/bin ` to your
29+ PATH, use the command above but add the following to ` .zprofile ` . This will
30+ keep everything working in sh, bash, and zsh. See
31+ https://superuser.com/questions/187639/zsh-not-hitting-profile
32+
33+ ```
34+ emulate sh
35+ . ~/.profile
36+ emulate zsh
37+ ```
38+
2039Usage
2140=====
2241
You can’t perform that action at this time.
0 commit comments