Skip to content

Advanced commands in task completion #4176

Answered by jdx
tmeijn asked this question in Q&A
Jan 22, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I think it's the backslashes, try using a literal maybe:

#USAGE complete "version" run=#"mise ls-remote python | grep -oP '^\d+\.\d+\.\d+$' | sort -r"#

it'd be nice if there was a live kdl editor that showed how kdl gets parsed to test kdl in isolation but I don't think such a site exists

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hverlin
Comment options

@tmeijn
Comment options

@jdx
Comment options

jdx Jan 22, 2025
Maintainer

Answer selected by tmeijn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants