dotfiles/dot_config/fish/functions/open.fish
2024-04-14 18:41:15 -07:00

11 lines
192 B
Fish

#!/usr/bin/env fish
if test "$OS" = Darwin
function open --wraps open
open "$argv"
end
else
function open --wraps xdg-open
xdg-open "$argv" >/dev/null
end
end