summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/xmq
blob: 83eca0f68f314515386756015b8bb893580c5fa7 (plain)
1
2
3
#!/bin/sh

xdg-mime query filetype "$1" | tee /dev/tty | xargs xdg-mime query default
a ',' at the end will not let `for tz in ...` loop one extra time? t) for i in $(seq "$OPTARG"); do tz_to="$(tzselect),$tz_to" done;; T) tz_to="$OPTARG,$tz_to";; \?) exit 1;; esac done shift $((OPTIND-1))