- minor reorganisation

This commit is contained in:
ianmacd 2003-08-03 23:40:25 +00:00
parent ed6278bab8
commit 954eaa2b64

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.604 2003/08/04 01:36:10 ianmacd Exp $
# $Id: bash_completion,v 1.605 2003/08/04 01:40:25 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -387,6 +387,11 @@ complete -F _complete complete
# start of section containing completion functions for external programs
# a little help for FreeBSD ports users
[ $UNAME = FreeBSD ] && complete -W 'index search fetch fetch-list \
extract patch configure build install reinstall \
deinstall clean clean-depends kernel buildworld' make
# This completes on a list of all available service scripts for the
# 'service' command and/or the SysV init.d directory, followed by
# that script's available commands
@ -4907,8 +4912,6 @@ _dictdata()
's/^['$'\t '']['$'\t '']*\([^'$'\t '']*\).*$/\1/p'
}
# dict(1) completion
#
_dict()
{
local cur prev host port db dictfile
@ -4971,13 +4974,8 @@ _dict()
complete -F _dict $default dict rdict
}
# A little help for FreeBSD ports users
[ $UNAME = FreeBSD ] && complete -W 'index search fetch fetch-list \
extract patch configure build install reinstall \
deinstall clean clean-depends kernel buildworld' make
# cdrecord(1) completion
#
have cdrecord &&
_cdrecord()
{