aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-08 23:19:58 +0200
committerGravatar Tom Willemse2016-10-08 23:19:58 +0200
commitb96e761e95176d8f9774d701bbdc3240ebd5a15a (patch)
tree73041a8532a15b3f8d3f6e0bffbdba6b4a6c099f
parent17a46ab5d07b5e804299a6b360b85ac114b18e48 (diff)
downloadnew-dotfiles-b96e761e95176d8f9774d701bbdc3240ebd5a15a.tar.gz
new-dotfiles-b96e761e95176d8f9774d701bbdc3240ebd5a15a.zip
Add Composer binaries to PATH
-rw-r--r--zsh/.profile15
1 files changed, 9 insertions, 6 deletions
diff --git a/zsh/.profile b/zsh/.profile
index 8db89e5..2990dc7 100644
--- a/zsh/.profile
+++ b/zsh/.profile
@@ -1,9 +1,3 @@
-## PATH:
-# Add "$HOME/usr/bin" to $PATH because that is where I keep all of my
-# personal utilities and helper commands.
-PATH="${HOME}/usr/bin:${PATH}"
-export PATH
-
## XDG:
# I keep my XDG files in the normal place, but specifying them in an
@@ -11,6 +5,15 @@ export PATH
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
+## PATH:
+
+# Add composer bin to PATH
+PATH="${XDG_CONFIG_HOME}/composer/vendor/bin:${PATH}"
+# Add "$HOME/usr/bin" to $PATH because that is where I keep all of my
+# personal utilities and helper commands.
+PATH="${HOME}/usr/bin:${PATH}"
+export PATH
+
## Dbus
# Make the session bus address fixed so other processes can know where