Like the MacOS open
command, but for Linux.
Takes a mailcap format configuration, and opens file with the appropriate application.
${LOPEN_BROWSER}
is used to open URLs
${SUPPORTED_SCHEMES}
are schemes that are sent to ${BROWSER}
${MAILCAP_FILE}
is where you define the app/mimetype association
- Run
make
- Drop
target/lopen
into/usr/local/bin/
or somewhere else in your${PATH}
.