chore: adds zsh completions

This commit is contained in:
Deepak Mallubhotla 2024-06-29 11:19:30 -05:00
parent de92b1631b
commit 4a6303bf47
Signed by: deepak
GPG Key ID: 976F3357369149AB

View File

@ -65,3 +65,12 @@ release:
htmlcov:
poetry run pytest --cov-report=html
zsh_completions:
#!/usr/bin/env bash
set -euxo pipefail
if [[ "${DO_NIX_CUSTOM:=0}" -eq 1 ]]; then
eval "$(_TANTRI_COMPLETE=zsh_source tantri)"
else
echo "Nope only nix."
fi