From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SaNM0-0001tp-NH for ptxdist@pengutronix.de; Fri, 01 Jun 2012 10:37:04 +0200 From: Juergen Beisert Date: Fri, 1 Jun 2012 10:35:44 +0200 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201206011035.44157.jbe@pengutronix.de> Subject: [ptxdist] [PATCH] Keep the bash's autocompletion in sync with PTXdist's features Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Juergen Beisert diff --git a/scripts/bash_completion b/scripts/bash_completion index f24672f..1acfda5 100644 --- a/scripts/bash_completion +++ b/scripts/bash_completion @@ -50,7 +50,7 @@ _ptxdist_completion() COMPREPLY=( $( compgen -W "${opts} $( pushd $(ptxdist print PTXDIST_PLATFORMDIR)/state >/dev/null; ls +(*.get|*.extract|*.prepare|*.compile| *.install|*.targetinstall); popd >/dev/null )" -- $cur ) ) ;; newpackage) - COMPREPLY=( $( compgen -W "${opts} target host cross klibc arc-autoconf-lib src-autoconf-prog src-autoconf-proglib src-cmake-prog src-linux-dirver src-make-prog src-stellaris font simple" -- $cur) ) + COMPREPLY=( $( compgen -W "${opts} target host cross klibc src-autoconf-lib src-autoconf-prog src-autoconf-proglib src-cmake-prog src-qmake-prog src-make-prog src-linux-driver src-stellaris font simple kernel" -- $cur) ) ;; esac return 0 -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de