dotfiles/sh/.local/bin/open

9 lines
150 B
Bash
Executable File

#!/usr/bin/env sh
# file opener using your preferred applications
if exist mimeo; then
mimeo "$1"
elif exist xdg-open; then
xdg-open "$1"
fi