MacOS removed /bin/perl, could we use /usr/bin/env perl instead? #11

Closed
opened 2026-04-23 12:04:26 -05:00 by ClashTheBunny · 3 comments
ClashTheBunny commented 2026-04-23 12:04:26 -05:00 (Migrated from github.com)

Using this cross platform is tough, I have to patch the shabang. Is there a way to make this /usr/bin/env perl to use the perl in the path? This would also help folks who use homebrew or other perls.

github.com/zdykstra/tmuxc@251fb9424d/tmuxc (L1)

Using this cross platform is tough, I have to patch the shabang. Is there a way to make this /usr/bin/env perl to use the perl in the path? This would also help folks who use homebrew or other perls. https://github.com/zdykstra/tmuxc/blob/251fb9424d75204f6e370dd3ba08d005379e1f91/tmuxc#L1
zdykstra commented 2026-04-23 12:09:09 -05:00 (Migrated from github.com)
Done! https://github.com/zdykstra/tmuxc/commit/63c8045c208a6c53248c21cb64c399143b7f1658
zdykstra commented 2026-04-23 12:14:49 -05:00 (Migrated from github.com)

Let me know if that works as expected for you and I'll close this out.

Let me know if that works as expected for you and I'll close this out.
ClashTheBunny commented 2026-04-25 18:51:59 -05:00 (Migrated from github.com)

Works great! Thanks so much!

Works great! Thanks so much!
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
zdykstra/tmuxc#11
No description provided.