Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daml-assistant: Install bash completion scripts on Linux and Mac. #3946

Merged
merged 10 commits into from
Jan 6, 2020
Prev Previous commit
Next Next commit
Mention bash completion in assistant docs
  • Loading branch information
associahedron committed Jan 6, 2020
commit 29f1a48e96ca45ac728c33bae2d673aec908014f
9 changes: 9 additions & 0 deletions docs/source/tools/assistant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,12 @@ Rarely, you might need to install an SDK release from a downloaded SDK release t

daml install path-to-tarball.tar.gz

Terminal Command Completion
***************************

The ``daml`` assistant comes with support for ``bash`` completions. These will be installed automatically on Linux and Mac when you install or upgrade the DAML assistant. If you use the ``bash`` shell, and your ``bash`` supports completions, you can use the TAB key to complete many ``daml`` commands, such as ``daml install`` and ``daml version``.

You can override whether bash completions are installed for ``daml`` by
passing ``--bash-completions=yes`` or ``--bash-completions=no`` to ``daml install``.

In the future, ``zsh`` and ``fish`` terminal completions may be implemented.
This conversation was marked as resolved.
Show resolved Hide resolved