lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bash auto-completion support for LilyPond


From: Valentin Villenave
Subject: [PATCH] bash auto-completion support for LilyPond
Date: Fri, 13 Jun 2008 20:59:54 +0200

Greetings everybody,

Here's a patch against gub to implement a much useful feature for
those of us who run lilypond from the command line using a bash shell
(included by default in most linux/BSD distributions).

Quoting the commit description,
"This adds two features:
  - autocompletion for lilypond options, including
    all ly:set-option possibilities, all output formats
    and debugging options.
  - auto-selection of .ly files; when invoking lilypond,
    all files without .ly or .LY extension will be ignored.

Completion rules are created by the shar installer, when a
compatible bash is detected (a --nobash option allows to
bypass this feature).  Since such scripts are traditionally
located in /etc/bash_completion.d, root privileges are
required (there's no proper support for completion in user
mode)."

Comments and improvements are welcome.

Cheers,
Valentin

Attachment: 0001-Support-for-LilyPond-bash-completion.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]