bashrc

Updated on 28 Dec 2018

.profile

Anything related to graphical applications or sh (or bash invoked as sh) must be placed here. Also anything only available to login shells should go here.

.bashrc

Has anything you’d want at an interactive command line, Command prompt, EDITOR variable, bash aliases. It does not output anything.

I have this at the bottom of my .bashrc file.

export PATH="$PATH:./vendor/bin/:$HOME/.local/bin/"
  • ./vendor/bin means that I will be able to run composer applications, I.e. codecept, phpunit etc.
  • $HOME/.local/bin has some local applications – mainly to do with python, I.e. robot.

Separate paths with the colon :.