mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Schenk, Gavin" <G.Schenk@eckelmann.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Yocto
Date: Tue, 12 Sep 2017 13:29:34 +0000	[thread overview]
Message-ID: <72ba293b9d154fa3ba3cfe4bd43cbab9@eckelmann.de> (raw)
In-Reply-To: <5004725.5X6p6V37P8@ada>

Hi,

> Am Montag, 11. September 2017, 07:14:00 schrieb Schenk, Gavin:
> > * No Tab-completition as PTXDIST offers it. 5 Stages, ~130packages and
> > 100.000 commands. I think a very usefull feature in PTXDIST!
> 
> How does this work? I use zsh and have no tab completion for ptxdist,
> but miss it every now and then. :-/
> 

In house workshops with e.g. Michael Olbrich are the solution for many problems ;-).
I am not familiar with zsh, here is the solution for bash that works for me:

1.) apt-get install bash-completion

2.) Create a file ~/.bash_completion with content
export PATH=/opt/ptxdist/bin:$PATH
. /opt/ptxdist/lib/ptxdist-2017.07.0/scripts/bash_completion

3.) If you use a symbolic link in your project to the ptxdist binary that is not called ptxdist ( I use only 'p' ) you have to add a line in ~/.bash_completion 
complete -F _ptxdist_completion p

4.) Restart your bash .. enjoy
Examples:
[schenk:~/projects/OSELAS.BSP-Eckelmann] eckelmann/prototyp/systemA_sd_systemB_nand* ± ./p compile [TAB][TAB]
Display all 160 possibilities? (y or n)

[schenk:~/projects/OSELAS.BSP-Eckelmann] eckelmann/prototyp/systemA_sd_systemB_nand* ± ./p compile ./p drop host-rauc. [TAB][TAB]
host-rauc.compile  host-rauc.extract  host-rauc.get      host-rauc.install  host-rauc.prepare

Regards
Gavin Schenk


Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de 

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-09-12 13:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170911063001.A6FE73EC2A2E_9B62D69B@mail.eckelmann.de>
2017-09-11  7:14 ` Schenk, Gavin
2017-09-12 10:44   ` Alexander Dahl
2017-09-12 13:29     ` Schenk, Gavin [this message]
2017-09-09 13:03 Erwin Rol
2017-09-09 15:54 ` Enrico Weigelt, metux IT consult
2017-09-09 16:33   ` Erwin Rol
2017-09-10 19:24     ` Enrico Weigelt, metux IT consult
2017-09-10 20:09       ` Erwin Rol
2017-09-09 18:36 ` Tim Sander
2017-09-10 19:16   ` Robert Schwebel
2017-09-12 18:42     ` Tim Sander
2017-09-12 20:12       ` Robert Schwebel
2017-09-12 21:33         ` Tim Sander
2017-09-13  5:42           ` Robert Schwebel
2017-09-13 15:38       ` Michael Olbrich
2017-09-14 22:44         ` Tim Sander
2017-09-15  6:47           ` Michael Olbrich
2017-09-15 11:02             ` Alm, Michael
2017-09-16  9:25               ` Michael Olbrich
2017-09-10 19:13 ` Robert Schwebel
2017-09-11  9:25 ` Guillermo Rodriguez Garcia
2017-09-12 10:49   ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72ba293b9d154fa3ba3cfe4bd43cbab9@eckelmann.de \
    --to=g.schenk@eckelmann.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox