2025-03-03 18:04:52 -08:00

6 lines
194 B
Fish

function repo_open
set remote (git remote get-url origin)
set remote (string replace "git@" "https://" $remote)
set remote (string replace ":" "/" $remote)
xdg-open "$remote"
end