4 lines
112 B
Bash
4 lines
112 B
Bash
|
FILETYPE=$(xdg-mime query filetype $@)
|
||
|
DEFAULT=$(xdg-mime query default $FILETYPE)
|
||
|
echo "$FILETYPE -> $DEFAULT"
|