Why doesn't Fabric see my .bash_profile?
问题 In Fabric, when I try to use any alias' or functions from my .bash_profile file, they are not recognized. For instance my .bash_profile contains alias c='workon django-canada' , so when I type c in iTerm or Terminal, workon django-canada is executed. My fabfile.py contains def test(): local('c') But when I try fab test it throws this at me: [localhost] local: c /bin/sh: c: command not found Fatal error: local() encountered an error (return code 127) while executing 'c' Aborting. Other Fabric