Skip to content

Instantly share code, notes, and snippets.

@jorgenschaefer
Created October 5, 2014 21:24
Show Gist options
  • Save jorgenschaefer/f5648b6778d6daf0f42d to your computer and use it in GitHub Desktop.
Save jorgenschaefer/f5648b6778d6daf0f42d to your computer and use it in GitHub Desktop.
$ 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