about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/open
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/lf/cmds/open')
-rwxr-xr-xhome-manager/config/lf/cmds/open12
1 files changed, 0 insertions, 12 deletions
diff --git a/home-manager/config/lf/cmds/open b/home-manager/config/lf/cmds/open
deleted file mode 100755
index 2065eee3..00000000
--- a/home-manager/config/lf/cmds/open
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /usr/bin/env dash
-# shellcheck disable=SC2086
-# shellcheck source=/dev/null
-# . ~/.local/lib/shell/lib
-. %SHELL_LIBRARY_PATH
-
-case $(file --mime-type "$f" -bL) in
-    text/*|application/json) "$EDITOR" "$f";;
-    image/*) "$IVIEWER" "$f";;
-    *) xdg-open "$f";;
-esac
-# vim: ft=sh