summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-11-13 14:43:50 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-11-13 14:43:50 +0000
commitd7e14d12933624609b07d55a6052cd11df07847e (patch)
tree46c51eac164f9dff0b262008fd7191ed9845adb4 /app-misc/devtodo
parentinitial ebuild. It's just a bunch of firmware files, so I've copied KEYWORDS ... (diff)
downloadgentoo-2-d7e14d12933624609b07d55a6052cd11df07847e.tar.gz
gentoo-2-d7e14d12933624609b07d55a6052cd11df07847e.tar.bz2
gentoo-2-d7e14d12933624609b07d55a6052cd11df07847e.zip
Clean up completion functions.
Diffstat (limited to 'app-misc/devtodo')
-rw-r--r--app-misc/devtodo/ChangeLog6
-rw-r--r--app-misc/devtodo/Manifest14
-rw-r--r--app-misc/devtodo/files/devtodo.bash-completion25
3 files changed, 22 insertions, 23 deletions
diff --git a/app-misc/devtodo/ChangeLog b/app-misc/devtodo/ChangeLog
index b0eeeefd8690..2d7e1a23a31b 100644
--- a/app-misc/devtodo/ChangeLog
+++ b/app-misc/devtodo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/devtodo
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/ChangeLog,v 1.28 2004/11/11 10:37:54 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/ChangeLog,v 1.29 2004/11/13 14:43:50 ka0ttic Exp $
+
+ 13 Nov 2004; Aaron Walker <ka0ttic@gentoo.org>
+ files/devtodo.bash-completion:
+ Clean up completion functions.
*devtodo-0.1.18-r1 (11 Nov 2004)
diff --git a/app-misc/devtodo/Manifest b/app-misc/devtodo/Manifest
index 14dd0b930ab6..4c91c9da43a8 100644
--- a/app-misc/devtodo/Manifest
+++ b/app-misc/devtodo/Manifest
@@ -1,12 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 26f617dc1d0fe0d93ca6c5454807b01a devtodo-0.1.17-r1.ebuild 1413
MD5 27f76d41ee0d3149d8578c31c1f9ed26 devtodo-0.1.18.ebuild 1445
MD5 708bc8d1cf20e92b71d189b71d12b641 devtodo-0.1.17.ebuild 939
MD5 b98044c2f037b2bef3988ee7fc5fc3d0 devtodo-0.1.17-r2.ebuild 1531
MD5 4eb60e2d987f1846cf42c33a042809a0 devtodo-0.1.18-r1.ebuild 1641
-MD5 ec0b6777753255039d281a97d0fbd09c ChangeLog 4240
+MD5 fef9e964dd4526895b68774b51ff15dd ChangeLog 4356
MD5 99ce5509db4b50f28a1f6675f8c09b2b metadata.xml 258
MD5 b6e718b64f0c3f457d1d5820485d257d files/devtodo-0.1.18-invalid-ptr.patch 372
MD5 cb4cff0cd869696d1207553de89551c1 files/digest-devtodo-0.1.17 66
@@ -16,13 +13,6 @@ MD5 cb4cff0cd869696d1207553de89551c1 files/digest-devtodo-0.1.17-r2 66
MD5 e254b7fe4623f6fb5dfb4c9169e75ef7 files/digest-devtodo-0.1.18-r1 66
MD5 404d78d738ead3b99865b3f9cb33177d files/devtodo-fix-TERM-sigabrt.patch 758
MD5 68c51e9b769e87f037a34aa64bbc911f files/devtodo-fix-cd-builtin.patch 303
-MD5 2f6f41259976609db78b40c59b9131f0 files/devtodo.bash-completion 3070
+MD5 093b4e76c8345ba5ff76fc814ac27a20 files/devtodo.bash-completion 3210
MD5 48d3c0943acaae812475061a16fe6eb9 files/devtodo.patch 2359
MD5 3d389c27b4ba6ade4412c088cefe6f46 files/devtodo-1.1.17-notdl.patch 1985
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBk0ELEZCkKN40op4RArK5AJ9lSo70lODupX8icfBoSDuCHGTI5gCeKuuu
-+/K0H4EvpHtrOy23VwM7U6s=
-=oYpN
------END PGP SIGNATURE-----
diff --git a/app-misc/devtodo/files/devtodo.bash-completion b/app-misc/devtodo/files/devtodo.bash-completion
index 7170c2205fcc..1eb92e5b07cf 100644
--- a/app-misc/devtodo/files/devtodo.bash-completion
+++ b/app-misc/devtodo/files/devtodo.bash-completion
@@ -1,5 +1,9 @@
-# bash-completion script for devtodo
-# place this in /etc/bash_completion.d
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/files/devtodo.bash-completion,v 1.2 2004/11/13 14:43:50 ka0ttic Exp $
+
+# devtodo completion
+# original author: Aaron Walker <ka0ttic@gentoo.org>
_devtodo() {
local cur prev
@@ -32,8 +36,6 @@ _devtodo() {
;;
esac
}
-complete -F _devtodo devtodo
-complete -F _devtodo todo
_tda() {
local cur prev
@@ -43,8 +45,8 @@ _tda() {
if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then
COMPREPLY=($(compgen -W "-v --verbose -g --graft -p --priority \
- -G --global --global-database --database --mono --help --version" \
- -- "${cur}"))
+ -G --global --global-database --database --mono --help --version \
+ -l --link" -- "${cur}"))
fi
case "${prev}" in
@@ -53,12 +55,11 @@ _tda() {
verylow" -- "${cur}"))
;;
- --*database)
+ -l|--link|--*database)
COMPREPLY=($(compgen -o filenames -A file -- "${cur}"))
;;
esac
}
-complete -F _tda tda
_tde() {
local cur prev
@@ -83,7 +84,6 @@ _tde() {
;;
esac
}
-complete -F _tde tde
_tdr() {
local cur prev
@@ -102,7 +102,6 @@ _tdr() {
;;
esac
}
-complete -F _tdr tdr
_tdd() {
local cur prev
@@ -121,4 +120,10 @@ _tdd() {
;;
esac
}
+
+complete -F _devtodo devtodo
+complete -F _devtodo todo
+complete -F _tda tda
+complete -F _tde tde
+complete -F _tdr tdr
complete -F _tdd tdd