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
[email protected]

Reply via email to