mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
d1449e78c7
* Add Zsh completions for the assistant This is slightly more annoying for users since at least on Linux there doesn’t seem to be a user-writable directory that is in `$fpath` by default. I think on Zsh we could probably write them to /usr/local/share/zsh/site-functions but I’d rather avoid platform specific logic here. I would expect that Zsh users are usually somewhat comfortable with modifying the config and this also matches other installation instructions, e.g., https://github.com/zsh-users/zsh-completions#manual-installation. On the plus side, the completions look significantly nicer in Zsh since they include the description of commands. CHANGELOG_BEGIN - [DAML Assistant] Zsh completions for the DAML Assistant are now installed as part of ``daml install``. To activate them you need to add ``~/.daml/zsh`` to your ``$fpath``, e.g., by adding ``fpath=(~/.daml/zsh $fpath)`` to the beginning of your ``~/.zshrc`` before you call ``compinit``. CHANGELOG_END * Fix tests * Update daml-assistant/src/DA/Daml/Assistant/Install/Completion.hs Co-Authored-By: associahedron <231829+associahedron@users.noreply.github.com> Co-authored-by: associahedron <231829+associahedron@users.noreply.github.com> |
||
---|---|---|
.. | ||
daml-helper | ||
daml-project-config/DA/Daml/Project | ||
daml-sdk | ||
exe/DA/Daml | ||
integration-tests | ||
scala-daml-project-config | ||
src/DA/Daml/Assistant | ||
test/DA/Daml/Assistant | ||
BUILD.bazel | ||
daml-project-config.cabal | ||
get-daml.sh |