+#! /bin/bash
+
+#
+# Various wrapper functions for xdg-open
+# Also refer to desktop entries in ~/.local/share/applications
+#
+
+# opens a new terminal window and unzips a file
+function munzip() {
+ urxvt -e zsh -c "unzip \"$1\" -d \"${1%.*}\" && cd \"${1%.*}\";zsh"
+}
+
+# opens a new window and does ls -l for a file
+function mcd() {
+ urxvt -hold -e zsh -ic "ls -ltrh | tail -1; zsh"
+}
+
+# opens a new window and displays a text file
+function mcat() {
+ urxvt -e zsh -c "cat \"$1\";zsh"
+}
+
+"$@"