[Lunar-commits] <moonbase> lunar, theedge: Renamed functions to avoid collision with bash-completion module
Stefan Wold
ratler at lunar-linux.org
Fri Apr 6 13:18:42 CEST 2012
commit 70f72ef04fca8f7d911a8a6b16637c20ef85723b
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Fri Apr 6 13:18:42 2012 +0200
lunar, theedge: Renamed functions to avoid collision with bash-completion module
---
utils/lunar/profile.d/lunar.rc | 8 ++++----
utils/theedge/profile.d/theedge.rc | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/utils/lunar/profile.d/lunar.rc b/utils/lunar/profile.d/lunar.rc
index c781b50..448237f 100644
--- a/utils/lunar/profile.d/lunar.rc
+++ b/utils/lunar/profile.d/lunar.rc
@@ -45,20 +45,20 @@ _lvu ()
}
complete -F _lvu lvu
-_modules ()
+_lunar_modules ()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( compgen -W "`cat /var/state/lunar/module.index | cut -d: -f1`" $cur ))
}
-complete -F _modules lin lget
+complete -F _lunar_modules lin lget
-_modules_installed ()
+_lunar_modules_installed ()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( compgen -W "`cat /var/state/lunar/packages | cut -d: -f1`" $cur ))
}
-complete -F _modules_installed lrm
+complete -F _lunar_modules_installed lrm
diff --git a/utils/theedge/profile.d/theedge.rc b/utils/theedge/profile.d/theedge.rc
index c781b50..448237f 100644
--- a/utils/theedge/profile.d/theedge.rc
+++ b/utils/theedge/profile.d/theedge.rc
@@ -45,20 +45,20 @@ _lvu ()
}
complete -F _lvu lvu
-_modules ()
+_lunar_modules ()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( compgen -W "`cat /var/state/lunar/module.index | cut -d: -f1`" $cur ))
}
-complete -F _modules lin lget
+complete -F _lunar_modules lin lget
-_modules_installed ()
+_lunar_modules_installed ()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( compgen -W "`cat /var/state/lunar/packages | cut -d: -f1`" $cur ))
}
-complete -F _modules_installed lrm
+complete -F _lunar_modules_installed lrm
More information about the Lunar-commits
mailing list