# task: Add ZED_DIRNAME and ZED_RELATIVE_FILE task variables \(\#12245\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0eff1eae7684bf32215f38861adfa87663d5c7b6

Requested commit: 0eff1eae7684bf32215f38861adfa87663d5c7b6

Commit: 0eff1eae7684bf32215f38861adfa87663d5c7b6

Tree: 6427433b7f91d4b1cb083a8396b1c50523aa9fae

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
task: Add ZED_DIRNAME and ZED_RELATIVE_FILE task variables (#12245)

Release Notes:

- Added ZED_RELATIVE_FILE (path to current file relative to worktree
root) and ZED_DIRNAME (path to the directory containing current file)
task variables.
```

## Parents

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

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