Created
October 5, 2014 21:24
-
-
Save jorgenschaefer/f5648b6778d6daf0f42d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ cat $PYTHONSTARTUP | |
try: | |
# this add completion to python interpreter | |
import readline | |
import rlcompleter | |
# see readline man page for this | |
readline.parse_and_bind("set show-all-if-ambiguous on") | |
readline.parse_and_bind("tab: complete") | |
except: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment