Created
January 14, 2018 11:55
-
-
Save flying-sheep/ea45cb2fe74e83fcfcb74f7e0a42a238 to your computer and use it in GitHub Desktop.
makepkg wrapper to exit python virtual envs
This file contains 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
makepkg() { | |
if [[ "$(type -w deactivate || true)" == 'decativate: function' ]]; then | |
deactivate | |
fi | |
/usr/bin/makepkg "$@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment