Marty Oehme
4cc03a611a
Simple wrapper for xdg-open functionality. Simply refers to xdg-open except if there exists mimeo on the system which it will refer to instead. So, a simple preference modificator for mimeo over xdg-open since that is my preference too. Also gave it a short name so I can do open whenever I want and don't have to tax my left hand with tying xdg.
8 lines
150 B
Bash
Executable file
8 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
|