Mercurial > public > dotfiles
view python/.pythonstartup @ 25:732ed3539b7a
Workiva Vim updates.
Local settings for Dart and Groovy.
.vimrc tweaks for recent work and plugins.
Moved readme for bundle up a level so we can .hgignore the entire directory.
Update readme for bundle directory for plugins I started using.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 31 Jul 2015 15:39:23 -0500 |
parents | 357906c82c1f |
children |
line wrap: on
line source
# python startup file try: import readline except ImportError: pass else: import atexit import os import rlcompleter # tab completion readline.parse_and_bind('tab: complete') # history file histfile = os.path.join(os.environ['HOME'], '.pythonhistory') try: readline.read_history_file(histfile) except IOError: pass readline.set_history_length(1024) atexit.register(readline.write_history_file, histfile) del os, histfile, readline, rlcompleter