Clean up profile.d file thanks to Joker.
authorAaron Walker <ka0ttic@gentoo.org>
Fri, 12 Nov 2004 23:44:04 +0000 (23:44 +0000)
committerAaron Walker <ka0ttic@gentoo.org>
Fri, 12 Nov 2004 23:44:04 +0000 (23:44 +0000)
app-shells/bash-completion/ChangeLog
app-shells/bash-completion/Manifest
app-shells/bash-completion/files/bash-completion

index 92662f99654c43045104818318341f6fecc3d596..e3079cd242ed10ece7c8a9ef5a54c36b6582a7d3 100644 (file)
@@ -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.79 2004/11/12 10:57:56 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.80 2004/11/12 23:44:04 ka0ttic Exp $
+
+  12 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> files/bash-completion:
+  Clean up profile.d file thanks to Joker.
 
 *bash-completion-20041017-r1 (12 Nov 2004)
 
index c0b1f3573688dbf9613a83e70c6e68d1a884fdb6..9f9b9d33865556b8828ce23be282844c9b86e9a2 100644 (file)
@@ -5,11 +5,11 @@ MD5 380396b5af573a9eb310e1f150288411 bash-completion-20041017-r1.ebuild 2238
 MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088
 MD5 f6bee54f0c35dc47430924ecb49c03fb bash-completion-20040704.ebuild 2092
 MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087
-MD5 b197ca2dd572ccda2723645ee4763492 ChangeLog 11385
+MD5 1afb058cf0ae65d23c164482d72a0c4f ChangeLog 11501
 MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930
 MD5 3790b4d8b911d7cb16effa66acdc6e93 bash-completion-20041017.ebuild 2123
 MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152
-MD5 5592b40975f8bc675c05dec7e52ca6ff files/bash-completion 790
+MD5 3b7f1d6155d6deff5812264ef6bc4c07 files/bash-completion 724
 MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704 151
 MD5 73c3177da25971c1db7bb6482b5d1580 files/digest-bash-completion-20040711 151
 MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017 152
@@ -17,7 +17,7 @@ MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 15
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBlJdBEZCkKN40op4RAvfYAJ0cN18Ea8tGL/prNn9G5RbntKAHgACfeT3P
-WYIlod1pLbEgld0xAkj8D+s=
-=knWG
+iD8DBQFBlUrPEZCkKN40op4RAlksAJ96ARMr7GUIXRPLnVh6mFzH7n6hPwCfQpIF
+Ynl4ibjIOdgkCKqCGSdPGQI=
+=US3C
 -----END PGP SIGNATURE-----
index 3d4699395054db4f4733fbe0bd74cf9695d24e41..e1e58e1e7a2c884e3b71c3760446c508f7f5119e 100644 (file)
@@ -1,22 +1,19 @@
 # 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.6 2004/11/09 12:30:13 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/files/bash-completion,v 1.7 2004/11/12 23:44:04 ka0ttic Exp $
 #
 # START bash completion -- do not remove this line
 bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
 # interactive shell
-if [ "$PS1" ] && [ -f /etc/bash_completion ] ; then
+if [ "$PS1" ]; then
        if [ $bmajor -eq 2 -a $bminor '>' 04 ] || [ $bmajor -ge 3 ]; then
-               # Source completion code
-               . /etc/bash_completion
+               [ -f /etc/bash_completion ] && . /etc/bash_completion
+               if [ -d ~/.bash_completion.d ] ; then
+                       for file in ~/.bash_completion.d/* ; do
+                               [ -f $file ] && . $file
+                       done
+               fi
        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