Przeglądaj źródła

Merge pull request #5575 from admonkey/master

update help page on global for COMPOSER_HOME info
Jordi Boggiano 8 lat temu
rodzic
commit
9b42f16762
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      src/Composer/Command/GlobalCommand.php

+ 3 - 0
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\<user>\AppData\Roaming\Composer on Windows
 and /home/<user>/.composer on unix systems.
 
+If your system uses freedesktop.org standards, then it will first check
+XDG_CONFIG_HOME or default to /home/<user>/.config/composer
+
 Note: This path may vary depending on customizations to bin-dir in
 composer.json or the environmental variable COMPOSER_BIN_DIR.