Skip to content

Commit

Permalink
Add Composer "per user" binaries to PATH
Browse files Browse the repository at this point in the history
Instead of manually symlinking them into ~/.local/bin, check if
Composer's bin-directory is available and add that to the PATH.
  • Loading branch information
thijsputman committed Nov 4, 2023
1 parent 169fb28 commit f0a9017
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bashrc.d/23-composer
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

if [ -d "$HOME/.config/composer/vendor/bin" ]; then

path-add "$HOME/.config/composer/vendor/bin"

fi

0 comments on commit f0a9017

Please sign in to comment.