mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[GH-ISSUE #87] 'open' command on Linux #25
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @baodrate on GitHub (Apr 19, 2023).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/87
Currently, the
url_open_commandhas a hard-coded default ofopen:github.com/aome510/hackernews-TUI@3da2bc0703/hackernews_tui/src/config/mod.rs (L51-L54)That is (AFAIK) a MacOS-ism. On most Linux systems, the equivalent command is
xdg-open. Since we're compiling separate binaries for each anyways, could the default be set toxdg-openwhen targeting Linux? This would provide a much more sane default for Linux users.@aome510 commented on GitHub (Apr 19, 2023):
Updated in #88. Can you try the new changes in the PR to see if they work?