Last active
August 29, 2015 14:06
-
-
Save felixhummel/443fe14817a130941ab5 to your computer and use it in GitHub Desktop.
~/.pythonrc
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
export PYTHONSTARTUP=~/.pythonrc |
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
# 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