After installing Heroku, I am getting this error
-bash: /usr/local/Bluemix/bx/bash_autocomplete: No such file or directory
This only shows up when a start a new terminal
Does anyone know why and how to fix this? Thanks in advance!
If it only shows up when you open a window, it's probably because of a line in your ~/.bash_profile
, ~/.bashrc
, ~/.profile
,~/.bash_login
is sourcing that file (which doesn't exist), or it's a dependency of heroku-cli & must be installed separately. Here's a link about which files are called during bash startup.
Also, run cd /usr/local/
to see if it exists there — if it's not, then reinstall the heroku-cli & pay attention to the output (where such programs will often print instructions regarding which lines you should put in your startup scripts—if they don’t do so automatically)
Here's a link on how to edit your path, whose directories can be seen by echo $PATH
. If /usr/local
isn't, then it should be added.