# Add ZED_SELECTED_TEXT variable to tasks \(\#8865\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4c9c9df730c2123f9083b466334f022eda7fe3ce

Requested commit: 4c9c9df730c2123f9083b466334f022eda7fe3ce

Commit: 4c9c9df730c2123f9083b466334f022eda7fe3ce

Tree: 7af4a38bc4c7f3db7a34d4a5774f02a555915371

Author: Anthony Eid

Committer: GitHub

## Message

```
Add ZED_SELECTED_TEXT variable to tasks (#8865)

Tasks are able to access a users selected text using the environment
variable "ZED_SELECTED_TEXT".

Release notes:

- Added ZED_SELECTED_TEXT task variable which contains contents of
selection
```

## Parents

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

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