Dhruvin Gandhi
ae076fa415
task: Add ZED_RELATIVE_DIR task variable ( #31657 )
...
This is my first contribution to zed, let me know if I missed anything.
There is no corresponding issue/discussion.
`$ZED_RELATIVE_DIR` can be used in cases where a task's command's
filesystem namespace (e.g. inside a container) is different than the
host, where absolute paths cannot work.
I modified `relative_path` to `relative_file` after the addition of
`relative_dir`.
For top-level files, where `relative_file.parent() == Some("")`, I use
`"."` for `$ZED_RELATIVE_DIR`, which is a valid relative path in both
*nix and windows.
Thank you for building zed, and open-sourcing it. I hope to contribute
more as I use it as my primary editor.
Release Notes:
- Added ZED_RELATIVE_DIR (path to current file's directory relative to
worktree root) task variable.
2025-05-29 11:50:36 +02:00
..
2025-05-29 01:58:40 +00:00
2025-05-28 18:08:58 -03:00
2025-05-27 15:16:55 +00:00
2025-05-22 21:00:54 +00:00
2025-05-20 23:06:07 +00:00
2025-05-28 18:08:58 -03:00
2025-05-21 09:27:54 +00:00
2025-05-26 11:48:50 -04:00
2025-05-28 18:44:49 +00:00
2025-05-28 19:31:54 +00:00
2025-05-26 21:20:41 -03:00
2025-05-28 11:51:21 -04:00
2025-05-20 23:06:07 +00:00
2025-05-27 10:54:42 +02:00
2025-05-26 11:48:50 -04:00
2025-05-26 23:04:31 -04:00
2025-05-26 23:04:31 -04:00
2025-05-20 23:06:07 +00:00
2025-05-26 23:04:31 -04:00
2025-05-29 00:57:04 +00:00
2025-05-26 23:04:31 -04:00
2025-05-26 23:04:31 -04:00
2025-05-26 10:29:45 +02:00
2025-05-26 23:04:31 -04:00
2025-05-28 12:59:05 +02:00
2025-05-28 15:16:12 +00:00
2025-05-20 00:20:00 +00:00
2025-05-22 07:24:46 -04:00
2025-05-29 01:58:40 +00:00
2025-05-20 23:06:07 +00:00
2025-05-26 23:04:31 -04:00
2025-05-27 16:56:03 +00:00
2025-05-28 23:05:06 +00:00
2025-05-28 12:06:07 -04:00
2025-05-26 16:06:38 +02:00
2025-05-26 16:06:38 +02:00
2025-05-20 23:06:07 +00:00
2025-05-26 11:48:50 -04:00
2025-05-26 23:04:31 -04:00
2025-05-17 16:42:45 +00:00
2025-05-23 14:53:53 +00:00
2025-05-28 21:29:51 +00:00
2025-05-20 23:06:07 +00:00
2025-05-26 11:31:25 +00:00
2025-05-20 23:06:07 +00:00
2025-05-28 10:16:34 -04:00
2025-05-27 10:54:42 +02:00
2025-05-27 23:01:31 +00:00
2025-05-26 17:43:57 +00:00
2025-05-20 23:06:07 +00:00
2025-05-27 19:44:10 -03:00
2025-05-20 23:06:07 +00:00
2025-05-20 23:06:07 +00:00
2025-05-20 23:06:07 +00:00
2025-05-27 21:52:42 +00:00
2025-05-26 17:43:57 +00:00
2025-05-20 23:06:07 +00:00
2025-05-17 16:42:45 +00:00
2025-05-17 16:42:45 +00:00
2025-05-28 18:36:25 +03:00
2025-05-28 12:06:07 -04:00
2025-05-28 16:43:08 +00:00
2025-05-20 23:06:07 +00:00
2025-05-27 00:57:45 +03:00
2025-05-29 09:19:23 +00:00
2025-05-20 23:06:07 +00:00
2025-05-20 23:06:07 +00:00
2025-05-26 13:54:17 +02:00
2025-05-26 11:48:50 -04:00
2025-05-28 18:36:25 +03:00
2025-05-21 12:57:51 -04:00
2025-05-20 23:06:07 +00:00
2025-05-20 23:06:07 +00:00
2025-05-22 14:22:35 -04:00
2025-05-28 23:05:06 +00:00
2025-05-21 21:17:14 +03:00
2025-05-22 14:22:35 -04:00
2025-05-26 11:46:35 +00:00
2025-05-26 23:04:31 -04:00
2025-05-26 23:04:31 -04:00
2025-05-27 14:14:25 -04:00
2025-05-26 09:55:47 -03:00
2025-05-20 23:06:07 +00:00
2025-05-29 11:50:36 +02:00
2025-05-26 23:04:31 -04:00
2025-05-26 23:04:31 -04:00
2025-05-20 23:06:07 +00:00
2025-05-26 22:19:02 +03:00
2025-05-29 09:24:39 +05:30
2025-05-26 17:43:57 +00:00
2025-05-23 14:53:53 +00:00
2025-05-27 16:56:27 +00:00
2025-05-27 23:01:31 +00:00
2025-05-21 20:23:05 -07:00
2025-05-20 23:06:07 +00:00
2025-05-26 11:48:50 -04:00
2025-05-26 11:48:50 -04:00
2025-05-26 17:43:57 +00:00
2025-05-26 23:04:31 -04:00
2025-05-26 11:48:50 -04:00
2025-05-20 23:06:07 +00:00
2025-05-27 14:14:25 -04:00
2025-05-27 14:14:25 -04:00
2025-05-20 23:06:07 +00:00
2025-05-26 23:04:31 -04:00
2025-05-26 13:44:09 +00:00
2025-05-20 23:06:07 +00:00
2025-05-16 17:35:44 +02:00
2025-05-20 23:06:07 +00:00
2025-05-26 11:48:50 -04:00
2025-05-23 20:45:32 +00:00
2025-05-26 11:48:50 -04:00
2025-05-29 11:50:36 +02:00
2025-05-29 11:50:36 +02:00
2025-05-23 14:28:53 +03:00
2025-05-29 08:55:12 +05:30
2025-05-28 12:32:54 +00:00
2025-05-26 18:23:41 +00:00
2025-05-26 18:23:41 +00:00
2025-05-28 11:51:21 -04:00
2025-05-26 23:04:31 -04:00
2025-05-28 05:26:00 +05:30
2025-05-23 19:31:25 +00:00
2025-05-28 10:16:34 -04:00
2025-05-28 06:30:51 +05:30
2025-05-20 23:06:07 +00:00
2025-05-26 15:02:51 +03:00
2025-05-26 23:04:31 -04:00
2025-05-26 23:04:31 -04:00
2025-05-28 14:36:50 +00:00
2025-05-26 19:40:07 +00:00
2025-05-26 11:48:50 -04:00
2025-05-26 11:48:50 -04:00