zed
zed copied to clipboard
Tasks - variable from user input when running the task (minor)
Check for existing issues
- [X] Completed
Describe the feature
Described in discussion - https://github.com/zed-industries/zed/discussions/10823
Would be nice to have user input as variable
So instead of exact value, user could write the value everytime the task is run:
{
"label": "Kill port 8081",
"command": "kill -9 $(lsof -i tcp:8081 -t) 2> /dev/null"
}
{
"label": "Kill port <port>",
"command": "kill -9 $(lsof -i tcp:${input:port}-t) 2> /dev/null"
}
If applicable, add mockups / screenshots to help present your vision of the feature
No response