6 lines
133 B
Bash
6 lines
133 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
FILETYPE=$(xdg-mime query filetype $@)
|
||
|
DEFAULT=$(xdg-mime query default $FILETYPE)
|
||
|
echo "$FILETYPE -> $DEFAULT"
|