Created
October 18, 2014 15:28
-
-
Save bcho/43273d9a6900e41f5157 to your computer and use it in GitHub Desktop.
trick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| # By default, fabric will use `/bin/bash` as shell. | |
| # Which means it won't process our aliases in the `~/.bashrc` | |
| # (or `~/.bash_profile`). | |
| from fabric.api import env | |
| # We can fix this by invoking bash as a login shell: (quoted from `man bash`): | |
| env.shell = '/bin/bash -l -i -c' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment