Skip to content

Commit

Permalink
Escape colon in zsh value/description pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Crane committed Sep 13, 2024
1 parent 1823714 commit 775674c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typer/_completion_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def escape(s: str) -> str:
.replace("'", "''")
.replace("$", "\\$")
.replace("`", "\\`")
.replace(":", r"\\:")
)

# TODO: Explore replicating the new behavior from Click, pay attention to
Expand Down

0 comments on commit 775674c

Please sign in to comment.