~yerinalexey/dotfiles

da831a3d29946aa01e36f93962b4644366dc5a7e — Alexey Yerin a month ago 94e909a
scripts/xdg-open: quote mimetype
1 files changed, 2 insertions(+), 2 deletions(-)

M scripts/xdg-open
M scripts/xdg-open => scripts/xdg-open +2 -2
@@ 7,9 7,9 @@

# MIME type handlers
open_mime() {
	mimetype=$(file --mime-type -b "$1")
	mimetype="$(file --mime-type -b "$1")"

	case $mimetype in
	case "$mimetype" in
		application/pdf)
			exec $READER "$1"
			;;