Skip to content

Add script for bash completion #2813

@rlaboiss

Description

@rlaboiss

In the Debian package for praat that I maintain, I currently include a script for bash completion. This script is installed in /usr/share/bash-completion/completions/praat.bash. It allows you to use the [TAB] key, in the command line of the bash shell, to complete the allowed options, as in this example:

$ praat [TAB]
-8               -a               --ansi           --help           --hide-picture
--new-open       --new-send       --no-plugins     --no-pref-files  --open
--pref-dir       --run            --send           --trace          -u
--utf16          --utf8           --version
$ praat -

If you think this would be a useful addition to Praat, I can create a pull request to add the script (I think it would go in the main directory).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions