bash-completion: update to 1.0
This commit is contained in:
parent
f4306c1685
commit
d48235f7e0
@ -1,7 +1,46 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/bash-completion/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/bash-completion/
|
||||
-rw-r--r-- root/root usr/share/bash-completion/bash_completion
|
||||
-rwxr-xr-x root/root usr/share/bash-completion/init_bc
|
||||
drwxr-xr-x root/root etc/
|
||||
-rw-r--r-- root/root etc/bash_completion
|
||||
drwxr-xr-x root/root etc/bash_completion.d/
|
||||
-rw-r--r-- root/root etc/bash_completion.d/_subversion
|
||||
-rw-r--r-- root/root etc/bash_completion.d/apache2ctl
|
||||
-rw-r--r-- root/root etc/bash_completion.d/bitkeeper
|
||||
-rw-r--r-- root/root etc/bash_completion.d/bittorrent
|
||||
-rw-r--r-- root/root etc/bash_completion.d/brctl
|
||||
-rw-r--r-- root/root etc/bash_completion.d/cksfv
|
||||
-rw-r--r-- root/root etc/bash_completion.d/clisp
|
||||
-rw-r--r-- root/root etc/bash_completion.d/cowsay
|
||||
-rw-r--r-- root/root etc/bash_completion.d/cpan2dist
|
||||
-rw-r--r-- root/root etc/bash_completion.d/dsniff
|
||||
-rw-r--r-- root/root etc/bash_completion.d/freeciv
|
||||
-rw-r--r-- root/root etc/bash_completion.d/gcl
|
||||
-rw-r--r-- root/root etc/bash_completion.d/gkrellm
|
||||
-rw-r--r-- root/root etc/bash_completion.d/gnatmake
|
||||
-rw-r--r-- root/root etc/bash_completion.d/gpg2
|
||||
-rw-r--r-- root/root etc/bash_completion.d/harbour
|
||||
-rw-r--r-- root/root etc/bash_completion.d/isql
|
||||
-rw-r--r-- root/root etc/bash_completion.d/larch
|
||||
-rw-r--r-- root/root etc/bash_completion.d/lilypond
|
||||
-rw-r--r-- root/root etc/bash_completion.d/lisp
|
||||
-rw-r--r-- root/root etc/bash_completion.d/lzma
|
||||
-rw-r--r-- root/root etc/bash_completion.d/lzop
|
||||
-rw-r--r-- root/root etc/bash_completion.d/mailman
|
||||
-rw-r--r-- root/root etc/bash_completion.d/mcrypt
|
||||
-rw-r--r-- root/root etc/bash_completion.d/minicom
|
||||
-rw-r--r-- root/root etc/bash_completion.d/modules
|
||||
-rw-r--r-- root/root etc/bash_completion.d/monodevelop
|
||||
-rw-r--r-- root/root etc/bash_completion.d/mtx
|
||||
-rw-r--r-- root/root etc/bash_completion.d/net-tools
|
||||
-rw-r--r-- root/root etc/bash_completion.d/p4
|
||||
-rw-r--r-- root/root etc/bash_completion.d/povray
|
||||
-rw-r--r-- root/root etc/bash_completion.d/qdbus
|
||||
-rw-r--r-- root/root etc/bash_completion.d/qemu
|
||||
-rw-r--r-- root/root etc/bash_completion.d/quota-tools
|
||||
-rw-r--r-- root/root etc/bash_completion.d/rdesktop
|
||||
-rw-r--r-- root/root etc/bash_completion.d/ri
|
||||
-rw-r--r-- root/root etc/bash_completion.d/sbcl
|
||||
-rw-r--r-- root/root etc/bash_completion.d/sitecopy
|
||||
-rw-r--r-- root/root etc/bash_completion.d/snownews
|
||||
-rw-r--r-- root/root etc/bash_completion.d/ssh
|
||||
-rw-r--r-- root/root etc/bash_completion.d/svk
|
||||
-rw-r--r-- root/root etc/bash_completion.d/unace
|
||||
-rw-r--r-- root/root etc/bash_completion.d/unrar
|
||||
|
@ -1,2 +1 @@
|
||||
9bca1cf97e8f8c73e3ef560cc9dead21 bash-completion-20060301.tar.gz
|
||||
cee11381ec9d2dbe72e5c9d568bafa73 init_bc
|
||||
cd1c5648272917fbe0eef4ba30bb93f4 bash-completion-1.0.tar.gz
|
||||
|
@ -1,15 +1,15 @@
|
||||
# Maintainer: Johannes Winkelmann, jw at smts dot ch
|
||||
# URL: http://www.caliban.org/bash/index.shtml#completion
|
||||
# URL: http://bash-completion.alioth.debian.org/
|
||||
# Description: Bash completion functions
|
||||
|
||||
name=bash-completion
|
||||
version=20060301
|
||||
version=1.0
|
||||
release=1
|
||||
source=(http://www.caliban.org/files/bash/$name-$version.tar.gz init_bc)
|
||||
source=(http://$name.alioth.debian.org/files/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
mkdir -p $PKG/usr/share/bash-completion
|
||||
cp bash_completion/bash_completion $PKG/usr/share/bash-completion
|
||||
install -m 0755 init_bc $PKG/usr/share/bash-completion
|
||||
install -d -m 0755 $PKG/usr/lib/bash-completion
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
export BASH_COMPLETION=/usr/share/bash-completion/bash_completion
|
||||
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
|
||||
if [ "$PS1" ] && [ $bmajor -eq 2 ] && [ $bminor '>' 04 ] \
|
||||
&& [ -f "$BASH_COMPLETION" ]; then # interactive shell
|
||||
# Source completion code
|
||||
. $BASH_COMPLETION
|
||||
fi
|
||||
|
||||
# also support bash v3...
|
||||
if [ "$PS1" ] && [ $bmajor -eq 3 ] && [ -f "$BASH_COMPLETION" ]; then
|
||||
# interactive shell
|
||||
. $BASH_COMPLETION
|
||||
fi
|
||||
|
||||
unset bash bmajor bminor
|
||||
|
||||
files=`find /usr/lib/bash-completion/ -type f`
|
||||
if [ ! "$files" = "" ]; then
|
||||
for f in /usr/lib/bash-completion/*; do
|
||||
. $f
|
||||
done
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user