wecodemore / wp-cli-composer

Add bash autocomplete for WP-CLI as Composer post-package-install script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not assume that the .bash_profile file lives inside the current working directory

franz-josef-kaiser opened this issue · comments

The current existence check assumes that the working directory equals the location of the ~/.bash_profile directory. The opposite is the case: it is assumed that the profile location is manually set in the composer.json::extra entry as: 'bash-profile-dir'.