Skip to content

Commit 9eebb32

Browse files
committed
readme: Link to SO for PATH setup instructions
1 parent 0927aed commit 9eebb32

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

README.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,16 @@ Install
1414
```bash
1515
composer global require davidrjonas/composer-lock-diff:^1.0@dev
1616

17-
# With zsh, do `rehash` to make it known to the shell.
17+
# With zsh, run `rehash` to make it known to the shell.
1818

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
19+
# try it
20+
composer-lock-diff --help
2221
```
2322

24-
Or just copy the 'composer-lock-diff' to `/usr/local/bin`.
23+
If `composer-lock-diff` is not found, make sure `~/.composer/vendor/bin` is in
24+
your `$PATH` env variable. For more information on how to do that see [this question on Stack Overflow][SO].
2525

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-
```
26+
[SO]: https://stackoverflow.com/questions/25373188/laravel-installation-how-to-place-the-composer-vendor-bin-directory-in-your
3827

3928
Usage
4029
=====

0 commit comments

Comments
 (0)