commit a22054f3abf91b7206c49f44cde2bb13ee2c424d
parent e5c16d0c00c2f1dca5e0d0dc43e4c406dc593595
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  4 Nov 2019 13:14:23 +0100
Merge branch 'master' of src.adamsgaard.dk:src/dotfiles
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.local/bin/irg b/.local/bin/irg
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
-# Unfortunately, the single-char read syntax is not POSIX compatible
+# Unfortunately, the single-char read syntax is not POSIX compatible,
+# and backspace is not supported
+
 nl='
 '
 query=""
diff --git a/.local/bin/xdg-open b/.local/bin/xdg-open
@@ -52,7 +52,11 @@ handle_target() {
 			application/pdf*)
 				zathura "$1" >/dev/null 2>&1 &
 				return 0;;
-			application/*document*|application/msword*|application/*-excel*|application/*powerpoint*)
+			application/*document*|\
+			application/msword*|\
+			application/*-excel*|\
+			application/*powerpoint*|\
+			application/zip)
 				libreoffice "$1" >/dev/null 2>&1 &
 				return 0;;
 			*)