Henry Precheur wrote: > You can't. The open command is a fish function: that's a little pessimistic... first example, put this in a file 'open' in front of your PATH
#!/usr/bin/env fish open "$argv" > > But all it does is invoking xdg-open or mimedb -l. > > So you could write something like this in another script 'open': #!/bin/sh if which xdg-open > /dev/null then xdg-open "$@" else mimedb -l -- "$@" fi -Isaac ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
