bashrc & zshrc: fix #36

pyenv should now always build Pythons with `--enable-shared`.
This commit is contained in:
Mikaela Suomalainen 2014-08-10 15:42:09 +03:00
parent 726d96e334
commit 843ac0a524
2 changed files with 6 additions and 0 deletions

3
bashrc
View File

@ -545,6 +545,9 @@ alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confas
# Send command output to http://sprunge.us `command|sprungeus`
alias sprungeus="curl -F 'sprunge=<-' http://sprunge.us"
# Always build pythons with --enable-shared when using pyenv
alias pyenv='CONFIGURE_OPTS="--enable-shared" PYTHON_CONFIGURE_OPTS="--enable-shared" command \pyenv'
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

3
zshrc
View File

@ -515,6 +515,9 @@ alias purgeconfig="apt-get install --reinstall -o DPkg::options::=--force-confas
# Send command output to http://sprunge.us `command|sprungeus`
alias sprungeus="curl -F 'sprunge=<-' http://sprunge.us"
# Always build pythons with --enable-shared when using pyenv
alias pyenv='CONFIGURE_OPTS="--enable-shared" PYTHON_CONFIGURE_OPTS="--enable-shared" command \pyenv'
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases