Lazy-eval of account pass_cmd #8

Closed
opened 2026-04-07 23:45:11 +02:00 by maleszka · 0 comments
Owner

Currently, config.zig evaluates all pass_cmd that are defined in final ConfigRaw object. I have 4 accounts defined and I have a GNU pass pass_cmd for each of them and it already takes 90% of wbij execution time.

pass_cmd should be evaluated only for the account that is actually selected

Currently, [config.zig](https://repos.adamm.rocks/maleszka/wbij/src/commit/f7b656644159750407143f4689e523979c6b26af/src/config.zig) evaluates all `pass_cmd` that are defined in final `ConfigRaw` object. I have 4 accounts defined and I have a GNU pass `pass_cmd` for each of them and it already takes 90% of `wbij` execution time. `pass_cmd` should be evaluated only for the account that is actually selected
kbity self-assigned this 2026-04-23 21:20:17 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
maleszka/wbij#8
No description provided.