From f8a2bdbdaf664eb249e2694d8fb0942f38fcebc8 Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Tue, 9 Nov 2004 12:30:13 +0000 Subject: [PATCH] Updated profile.d file to also source anything in ~/.bash_completion.d --- app-shells/bash-completion/ChangeLog | 5 ++++- app-shells/bash-completion/Manifest | 20 ++++++++++++++----- .../bash-completion/files/bash-completion | 9 ++++++++- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog index 8c746fd9d3ad..3ad188b0163c 100644 --- a/app-shells/bash-completion/ChangeLog +++ b/app-shells/bash-completion/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-shells/bash-completion # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.77 2004/11/05 09:02:40 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.78 2004/11/09 12:30:13 ka0ttic Exp $ + + 09 Nov 2004; Aaron Walker files/bash-completion: + Updated profile.d file to also source anything in ~/.bash_completion.d 05 Nov 2004; Joshua Kinard bash-completion-20040711.ebuild: diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest index 70933af9a79e..5d1e33eba9c9 100644 --- a/app-shells/bash-completion/Manifest +++ b/app-shells/bash-completion/Manifest @@ -1,11 +1,21 @@ -MD5 d2167d429b99e12f8d6318d6a174d881 ChangeLog 10999 -MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088 MD5 f6bee54f0c35dc47430924ecb49c03fb bash-completion-20040704.ebuild 2092 +MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087 +MD5 98b0e051f057ec0472f6994d9e709982 ChangeLog 11147 MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930 -MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088 MD5 3790b4d8b911d7cb16effa66acdc6e93 bash-completion-20041017.ebuild 2123 -MD5 ff208a2c09a302be5db88edf519a4086 files/bash-completion 626 +MD5 5592b40975f8bc675c05dec7e52ca6ff files/bash-completion 790 MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704 151 -MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151 MD5 73c3177da25971c1db7bb6482b5d1580 files/digest-bash-completion-20040711 151 MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017 152 +MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBkLhrEZCkKN40op4RApAiAJ4wOTjUXODbkFKLzdhaCZPUwi6EMgCZAQQp +kvC5Y94AH1nzD0bFFPH96SU= +=iWU8 +-----END PGP SIGNATURE----- diff --git a/app-shells/bash-completion/files/bash-completion b/app-shells/bash-completion/files/bash-completion index bd3c9a1d91b4..3d4699395054 100644 --- a/app-shells/bash-completion/files/bash-completion +++ b/app-shells/bash-completion/files/bash-completion @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/files/bash-completion,v 1.5 2004/07/29 02:48:19 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/files/bash-completion,v 1.6 2004/11/09 12:30:13 ka0ttic Exp $ # # START bash completion -- do not remove this line bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.} @@ -12,4 +12,11 @@ if [ "$PS1" ] && [ -f /etc/bash_completion ] ; then fi fi unset bash bmajor bminor + +# per-user completions +if [ "$PS1" ] && [ -d ~/.bash_completion.d ] ; then + for file in ~/.bash_completion.d/* ; do + [ -f $file ] && source $file + done +fi # END bash completion -- do not remove this line -- 2.26.2