From 954eaa2b6426a12b9ffe8b9b4c61b2a46e6c41dc Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Sun, 3 Aug 2003 23:40:25 +0000 Subject: [PATCH] - minor reorganisation --- bash_completion | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/bash_completion b/bash_completion index ed65db7d..bb21f001 100644 --- a/bash_completion +++ b/bash_completion @@ -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 # @@ -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() {