summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2012-02-22 01:38:07 +0100
committerPetr Šplíchal <psplicha@redhat.com>2012-02-22 01:38:07 +0100
commite4e43b416711d15b122a6b5c471564d5cd3d68a1 (patch)
tree48abbb977e8243985efed9f37974633dcc8c2140
parent051a77199202e5e8e3f2bf46465c9cc607ce1df8 (diff)
downloadpython-nitrate-e4e43b416711d15b122a6b5c471564d5cd3d68a1.zip
python-nitrate-e4e43b416711d15b122a6b5c471564d5cd3d68a1.tar.gz
python-nitrate-e4e43b416711d15b122a6b5c471564d5cd3d68a1.tar.xz
Added the interpreter script
-rwxr-xr-xsource/nitrate8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/nitrate b/source/nitrate
new file mode 100755
index 0000000..12a9dfa
--- /dev/null
+++ b/source/nitrate
@@ -0,0 +1,8 @@
+#!/usr/bin/python -i
+
+# readline & tab completion support
+import sys, rlcompleter, readline
+readline.parse_and_bind("tab: complete")
+
+# import all nitrate names
+from nitrate import *