Created
January 27, 2012 12:19
-
-
Save io41/1688530 to your computer and use it in GitHub Desktop.
ipython / pdb++ setup on OS X
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
#!/bin/sh | |
backup() | |
{ | |
[ -e "$1" ] && mv "$1" "$1.backup.$(date +%s)" | |
} | |
backup ~/.pdbrc.py | |
cat > ~/.pdbrc.py <<EOF | |
import pdb | |
class Config(pdb.DefaultConfig): | |
current_line_color = 40 | |
EOF | |
backup ~/.fancycompleterrc.py | |
cat > ~/.fancycompleterrc.py <<EOF | |
from fancycompleter import DefaultConfig | |
class Config(DefaultConfig): | |
prefer_pyrepl = False | |
EOF | |
easy_install readline # don't pip install this | |
pip install -U pexpect ipython pdbpp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment