dotfiles/dot_config/fish/functions/open.fish

12 lines
192 B
Fish
Raw Normal View History

2024-04-14 18:41:15 -07:00
#!/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