# task: Make UseSelectedQuery modal action expand to full command \(\#9947\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1360dffeadc7367422a4f4802da75d68ce57de59)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1360dffeadc7367422a4f4802da75d68ce57de59

Requested commit: 1360dffeadc7367422a4f4802da75d68ce57de59

Commit: 1360dffeadc7367422a4f4802da75d68ce57de59

Tree: 980fb2329864aa5545e586c359c8b1fdfa9c10dd

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
task: Make UseSelectedQuery modal action expand to full command (#9947)

Previously it expanded to a label, which was correct for oneshots, but
wrong for everything else.

Release Notes:

- Improved UseSelectedQuery (shift-enter) action for tasks modal by
making it substitute a full command and not the task label.
- Fixed one-shot tasks having duplicates in tasks modal.
```

## Parents

- [c7f04691d994c1d9d29b47fefc6d689d6f4fe18f](https://git.cafe/gitcafe/zed/commit/c7f04691d994c1d9d29b47fefc6d689d6f4fe18f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1360dffeadc7367422a4f4802da75d68ce57de59?format=markdown)
