I'm currently doing the Tango with Django module and I've edited my .bashrc as it lists.

Appending

[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc

to the end of it. However now whenever I try to do anything in the terminal it opens with

awk: 1: unexpected character '.'

followed by, for example,

Command 'gedit' is available in '/usr/bin/gedit' The command could not be located because '/usr/bin' is not included in the PATH environment variable.

Any advice would be appreciated. Thanks