From 9e7d1a4f9ed34466a05ac1356e97a98686f7da67 Mon Sep 17 00:00:00 2001 From: Jeff Puckett Date: Thu, 4 Aug 2016 16:26:37 -0500 Subject: [PATCH] update help page on global for COMPOSER_HOME info default installation directory for global packages has changed since adding support for freedesktop.org standards per confusion from http://stackoverflow.com/q/38703915/4233593 --- src/Composer/Command/GlobalCommand.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Composer/Command/GlobalCommand.php b/src/Composer/Command/GlobalCommand.php index beeca5b77..d189f44d5 100644 --- a/src/Composer/Command/GlobalCommand.php +++ b/src/Composer/Command/GlobalCommand.php @@ -42,6 +42,9 @@ is to add the COMPOSER_HOME/vendor/bin dir to your PATH env var. COMPOSER_HOME is c:\Users\\AppData\Roaming\Composer on Windows and /home//.composer on unix systems. +If your system uses freedesktop.org standards, then it will first check +XDG_CONFIG_HOME or default to /home//.config/composer + Note: This path may vary depending on customizations to bin-dir in composer.json or the environmental variable COMPOSER_BIN_DIR.