From 7e3898ec496eb619a7b3a94562df2416d72ffe16 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 18 Aug 2011 19:45:51 -0400 Subject: Added .pythonrc.py --- .pythonrc.py | 8 ++++++++ dm | 1 + 2 files changed, 9 insertions(+) create mode 100644 .pythonrc.py diff --git a/.pythonrc.py b/.pythonrc.py new file mode 100644 index 0000000..29373d4 --- /dev/null +++ b/.pythonrc.py @@ -0,0 +1,8 @@ +# ~/.pythonrc +# enable syntax completion +try: + import rlcompleter + rlcompleter.readline.parse_and_bind("tab: complete") +except: + import readline + readline.parse_and_bind("tab: complete") diff --git a/dm b/dm index 7d2189f..6cee78a 100755 --- a/dm +++ b/dm @@ -27,6 +27,7 @@ GLOBAL_FILES = \ .mutt/ \ .muttrc \ .notmuch-config \ + .pythonrc.py \ .quiltrc-dpkg \ .screenrc \ .screenlayout/ \ -- cgit v1.2.3