nixos/home/scripts/xdg-query-program.sh
Evie Litherland-Smith b3988f8eae Switch zsh back to fish
Add extracted zsh functions to path

Remove shebang from all scripts as writeShellScriptBin handles that automatically
2024-01-15 14:20:59 +00:00

4 lines
112 B
Bash
Executable file

FILETYPE=$(xdg-mime query filetype $@)
DEFAULT=$(xdg-mime query default $FILETYPE)
echo "$FILETYPE -> $DEFAULT"