diff --git a/home/dotfiles/profile b/home/dotfiles/profile index ef0e45a..7bb6afc 100644 --- a/home/dotfiles/profile +++ b/home/dotfiles/profile @@ -136,7 +136,7 @@ section_end # composer section "composer" if [ $PROFILE_COMPOSER -gt 0 ]; then - composer_path="$(composer global config --global --absolute bin-dir -q)" + composer_path="$(COMPOSER_ALLOW_SUPERUSER=1 composer global config --global --absolute bin-dir -q)" if [ -n "$composer_path" ] then log "Detected composer bin path: $composer_path"