* Melchior FRANZ -- Saturday 24 November 2007:
> [...] or bash shell completion [...]

If you don't know that one:

  http://members.aon.at/mfranz/flightgear/fgfs.bash  [5.6 kB]

Just run it once from a bash shell (and again every time after
you added a new aircraft), and source it from ~/.bashrc with

 [ -e $FG_HOME/fgfs.bash ] && source /path/to/fgfs.bash completion


This allows to use <TAB> completion to complete fgfs options,
aircraft, carrier names, season names, time-of-day options, etc.

 $ fgfs --airc<TAB>=ha<TAB> --dis<TAB>re<TAB>

completes to

 $ fgfs --aircraft=harrier --disable-real-weather-fetch

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to