pattern based file completions are defined in main file

This commit is contained in:
Guillaume Rousse 2009-10-04 23:02:55 +02:00
parent b56a8dfaae
commit 463568bc48
4 changed files with 3 additions and 26 deletions

View File

@ -47,7 +47,6 @@ bashcomp_DATA = contrib/ant \
contrib/gpg \
contrib/gpg2 \
contrib/gzip \
contrib/harbour \
contrib/heimdal \
contrib/iconv \
contrib/imagemagick \
@ -62,7 +61,6 @@ bashcomp_DATA = contrib/ant \
contrib/ldapvi \
contrib/lftp \
contrib/lilo \
contrib/lilypond \
contrib/links \
contrib/lisp \
contrib/lvm \

View File

@ -145,6 +145,9 @@ complete -f -X '!*.rpm' rpm2cpio
complete -f -X '!*.sqlite' sqlite3
complete -f -X '!*.aux' bibtex
complete -f -X '!*.po' poedit gtranslator kbabel lokalize
complete -f -X '!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' harbour gharbour hbpp
complete -f -X '!*.[Hh][Rr][Bb]' hbrun
complete -f -X '!*.ly' lilypond ly2dvi
# FINISH exclude -- do not remove this line
# start of section containing compspecs that can be handled within bash

View File

@ -1,13 +0,0 @@
# harbour completion by Dave Pearson <davep@davep.org>
# http://www.harbour-project.org/
complete -f -X '!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' harbour gharbour hbpp
complete -f -X '!*.[Hh][Rr][Bb]' hbrun
# Local variables:
# mode: shell-script
# sh-basic-offset: 4
# sh-indent-comment: t
# indent-tabs-mode: nil
# End:
# ex: ts=4 sw=4 et filetype=sh

View File

@ -1,11 +0,0 @@
# lilypond completion by Laurent Martelli <laurent@bearteam.org>
complete -f -X '!*.ly' lilypond ly2dvi
# Local variables:
# mode: shell-script
# sh-basic-offset: 4
# sh-indent-comment: t
# indent-tabs-mode: nil
# End:
# ex: ts=4 sw=4 et filetype=sh