Add dot files

This commit is contained in:
Joey Payne 2017-02-05 11:03:44 -07:00
commit dc9990db3a
15 changed files with 1294 additions and 0 deletions

15
.pythonstartup Normal file
View file

@ -0,0 +1,15 @@
# python startup file
import readline
import rlcompleter
import atexit
import os
# 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
atexit.register(readline.write_history_file, histfile)
del os, histfile, readline, rlcompleter