which drush used to work but now it doesn't do anything. Neither does which composer. which php works like it should and gives its path.

I think this might have happened after I edited ~/.bashrc and specified $PATH and alias for Drush and Composer.

According to this article: http://thewichitacomputerguy.com/blog/install-composer-drush-8-shared-ho...,

it says how after you do drush init it creates some config files in a ~/.drush folder and updates your .bashrc file:

You need to re-edit your .bashrc file and move the new include information added by drush. You'll find:

# Include Drush prompt customizations.
. $HOME/.drush/drush.prompt.sh

# Include Drush completion.
. $HOME/.drush/drush.complete.sh

# Include Drush bash customizations.
. $HOME/.drush/drush.bashrc
Move this to the BOTTOM of your export area. Your export stuff needs to be called on before it includes the drush files, otherwise you'll end up with the "which" command not being able to find drush in any path locations whenever you fire up your shell terminal.

That last quote is what made me wonder if this is a related issue.

Currently my ~/.bashrc looks like this:

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions
PATH=/usr/local/php56/bin:$HOME/.composer/vendor/bin:$PATH
export PATH
export DRUSH_PHP="/usr/local/php56/bin/php"
alias drush="/home/myaccount/.composer/vendor/bin/drush"
alias composer="/home/myaccount/composer.phar"

# Include Drush bash customizations.
if [ -f "/home/myaccount/.drush/drush.bashrc" ] ; then
  source /home/myaccount/.drush/drush.bashrc
fi

# Include Drush completion.
if [ -f "/home/myaccount/.drush/drush.complete.sh" ] ; then
  source /home/myaccount/.drush/drush.complete.sh
fi

# Include Drush prompt customizations.
if [ -f "/home/myaccount/.drush/drush.prompt.sh" ] ; then
  source /home/myaccount/.drush/drush.prompt.sh
fi

Any help would be greatly appreciated!