Skip to content

Instantly share code, notes, and snippets.

@felixhummel
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixhummel/443fe14817a130941ab5 to your computer and use it in GitHub Desktop.
Save felixhummel/443fe14817a130941ab5 to your computer and use it in GitHub Desktop.
~/.pythonrc
export PYTHONSTARTUP=~/.pythonrc
# vim: set ft=python :
try:
import readline
except ImportError:
pass
else:
import rlcompleter
if 'libedit' in readline.__doc__:
readline.parse_and_bind("bind ^I rl_complete")
else:
readline.parse_and_bind("tab: complete")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment