sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by George Sherwood (128c4f1e59d3f8564de6cfb187d8cb7f14693417)
- From: George Sherwood <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (128c4f1e59d3f8564de6cfb187d8cb7f14693417)
- Date: Sat, 25 Apr 2009 19:25:46 -0500
GIT changes to master grimoire by George Sherwood <gsherwood AT sourcemage.org>:
shell-term-fm/bash-completion/DETAILS | 2
shell-term-fm/bash-completion/HISTORY | 5 +
shell-term-fm/bash-completion/smgl_completion | 130
++++++++++++++++++++++++++
3 files changed, 136 insertions(+), 1 deletion(-)
New commits:
commit 200d2986237cbe466c2d1b6f9eb21dfc322ee48c
Author: George Sherwood <gsherwood AT sourcemage.org>
Commit: George Sherwood <gsherwood AT sourcemage.org>
bash-completion: Updated smgl_completion to add confmeld,
resurrect and scribbler. PATCHLEVEL++ Bug 15174
diff --git a/shell-term-fm/bash-completion/DETAILS
b/shell-term-fm/bash-completion/DETAILS
index b8ebf77..834c717 100755
--- a/shell-term-fm/bash-completion/DETAILS
+++ b/shell-term-fm/bash-completion/DETAILS
@@ -6,7 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/bash_completion
SOURCE_URL[0]=http://www.caliban.org/files/bash/$SOURCE
WEB_SITE=http://www.caliban.org/bash/index.shtml#completion
ENTERED=20020215
- PATCHLEVEL=6
+ PATCHLEVEL=7
LICENSE[0]=GPL
KEYWORDS="bash console"
SHORT="bash programmable completion"
diff --git a/shell-term-fm/bash-completion/HISTORY
b/shell-term-fm/bash-completion/HISTORY
index 173a7bc..3b3ab09 100644
--- a/shell-term-fm/bash-completion/HISTORY
+++ b/shell-term-fm/bash-completion/HISTORY
@@ -1,3 +1,8 @@
+2009-04-25 George Sherwood <gsherwood AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * smgl_completion: Updated to added confmeld, resurrect
+ scribbler. Bug 15174
+
2009-04-20 George Sherwood <gsherwood AT sourcemage.org>
* DETAILS: PATCHLEVEL++
* smgl_completion: Updated and cleaned up. Bug 15174
diff --git a/shell-term-fm/bash-completion/smgl_completion
b/shell-term-fm/bash-completion/smgl_completion
index 2a3559a..e94b4c6 100644
--- a/shell-term-fm/bash-completion/smgl_completion
+++ b/shell-term-fm/bash-completion/smgl_completion
@@ -68,6 +68,7 @@ _add_grimoire_list()
# Source Mage GNU/Linux gaze(1) completion
# by Lunar_fr (lunar AT l-a-p.org)
+# updated by Bor Kraljic (pyrobor AT ver.si)
#
have gaze &&
_gaze()
@@ -150,6 +151,10 @@ _gaze()
}
[ "$have" ] && complete -F _gaze -o default gaze
+
+# Source Mage GNU/Linux sorcery(8) completion
+# by Bor Kraljic (pyrobor AT ver.si)
+#
have sorcery &&
_sorcery()
{
@@ -324,6 +329,53 @@ _dispel()
}
[ "$have" ] && complete -F _dispel -o default dispel
+# Source Mage GNU/Linux confmeld(8) completion
+# by Bor Kraljic (pyrobor AT ver.si)
+#
+
+have confmeld &&
+_confmeld()
+{
+ local cur prev
+
+ COMPREPLY=()
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ if [ $COMP_CWORD -ge 1 -o ${prev} != ${prev#-} -o ${prev} !=
${prev#--} ]; then
+ case "$cur" in
+ --*)
+ COMPREPLY=( $( compgen -W 'help list list-configs list-spells
no-column force' ${cur#--} ) )
+ _dashify
+ return 0
+ ;;
+ -*)
+ COMPREPLY=( $( compgen -W 'h l c s q f' ${cur#-} ) )
+ _dashify
+ return 0
+ ;;
+
+ esac
+ fi
+ case "$prev" in
+ -f|--force)
+ COMPREPLY=( $( compgen -W 'discard-new discard-old use-old
use-new' $cur ) )
+ _dashify
+ return 0
+ ;;
+ *)
+ _spell_list
+ return 0
+ ;;
+ esac
+
+ return 0
+}
+[ "$have" ] && complete -F _confmeld -o default confmeld
+
+# Source Mage GNU/Linux cleanse(8) completion
+# by Bor Kraljic (pyrobor AT ver.si)
+#
have cleanse &&
_cleanse()
{
@@ -366,6 +418,47 @@ _cleanse()
}
[ "$have" ] && complete -F _cleanse -o default cleanse
+# Source Mage GNU/Linux resurrect(8) completion
+# by Bor Kraljic (pyrobor AT ver.si)
+#
+have resurrect &&
+_resurrect()
+{
+ local cur prev
+
+ COMPREPLY=()
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ if [ $COMP_CWORD -ge 1 -o ${prev} != ${prev#-} -o ${prev} !=
${prev#--} ]; then
+ case "$cur" in
+ --*)
+ COMPREPLY=( $( compgen -W 'version latest from check voyeur
nosustain help' ${cur#--} ) )
+ _dashify
+ return 0
+ ;;
+ -*)
+ COMPREPLY=( $( compgen -W 'v l f c V h' ${cur#-} ) )
+ _dashify
+ return 0
+ ;;
+ esac
+ fi
+ case "$prev" in
+ --from)
+ COMPREPLY=( $( compgen -d $cur ) )
+ return 0
+ ;;
+ *)
+ _spell_list
+ return 0
+ ;;
+ esac
+
+ return 0
+}
+[ "$have" ] && complete -F _resurrect -o default resurrect
+
# Source Mage GNU/Linux scribe(8) completion
# by Arjan Bouter (abouter AT sourcemage.org)
#
@@ -433,6 +526,43 @@ _scribe()
}
[ "$have" ] && complete -F _scribe -o default scribe
+# Source Mage GNU/Linux scribbler(8) completion
+# by Bor Kraljic (pyrobor AT ver.si)
+#
+have scribbler &&
+_scribbler()
+{
+ local cur prev
+
+ COMPREPLY=()
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+ first=${COMP_WORDS[1]}
+ second=${COMP_WORDS[2]}
+
+ if [ $COMP_CWORD = 1 ]; then
+ COMPREPLY=( $( compgen -W 'add remove' $cur ))
+ return 0
+ elif [ $COMP_CWORD = 2 ]; then
+ if [ "$prev" = add ] || [ "$prev" = remove ]; then
+ _spell_list
+ return 0
+ else
+ _add_grimoire_list
+ return 0
+ fi
+ elif [ $COMP_CWORD = 3 ]; then
+ _add_grimoire_list
+ return 0
+ elif [ $COMP_CWORD = 4 ]; then
+ _add_grimoire_list
+ return 0
+ fi
+
+ return 0
+}
+[ "$have" ] && complete -F _scribbler -o default scribbler
+
# Source Mage GNU/Linux quill(8) completion
# by p3pilot
#
- [SM-Commit] GIT changes to master grimoire by George Sherwood (128c4f1e59d3f8564de6cfb187d8cb7f14693417), George Sherwood, 04/25/2009
Archive powered by MHonArc 2.6.24.