Permalink
Browse files

Tab completion for python

  • Loading branch information...
mjschultz committed Aug 24, 2012
1 parent 5661df0 commit 9b9af719f06d92321d0410b3c1e48bc67d6507c3
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/pystartup
View
@@ -22,6 +22,7 @@ def save_history(hist_path=hist_path):
if os.path.exists(hist_path):
readline.read_history_file(hist_path)
+readline.parse_and_bind('tab: complete')
+
atexit.register(save_history)
del os, atexit, readline, rlcompleter, save_history, hist_path
-

0 comments on commit 9b9af71

Please sign in to comment.