summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSérgio Almeida <mephx.x@gmail.com>2009-09-03 16:50:08 +0100
committerSérgio Almeida <mephx.x@gmail.com>2009-09-03 16:50:08 +0100
commitaa8cdde5fc7332a1e974b7d70015646a262714e4 (patch)
tree0972f5ace2ff242302c001268d321f862e556715
parentFixed args bug (diff)
downloaduselect-aa8cdde5fc7332a1e974b7d70015646a262714e4.tar.gz
uselect-aa8cdde5fc7332a1e974b7d70015646a262714e4.tar.bz2
uselect-aa8cdde5fc7332a1e974b7d70015646a262714e4.zip
Added beta bash completion module
-rw-r--r--modules/bash.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/bash.py b/modules/bash.py
new file mode 100644
index 0000000..1647647
--- /dev/null
+++ b/modules/bash.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# gcc.uselect mephx.x@gmail.com
+
+from umodule import *
+
+module = Module(name = "bash", description = "Bash Environment Utility", version = "0.1", author ="mephx.x@gmail.com")
+
+completion = Action(name = 'completion', description = "Bash completion configurator", type='sym')
+
+completion_link = Link(alias = "something", target_dir = "etc/bash_completion.d/", prefix = "/etc/bash_completion.d/", regexp = "(.*$)")
+
+completion.add_link(completion_link)
+module.add_action(completion)