aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pythonrc.py8
-rwxr-xr-xdm1
2 files changed, 9 insertions, 0 deletions
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/ \