diff options
Diffstat (limited to 'home-manager/config/lf/cmds/open')
-rwxr-xr-x | home-manager/config/lf/cmds/open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/config/lf/cmds/open b/home-manager/config/lf/cmds/open index e7f1efd7..78cef374 100755 --- a/home-manager/config/lf/cmds/open +++ b/home-manager/config/lf/cmds/open @@ -4,7 +4,7 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH -LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d) + case $(file --mime-type "$f" -bL) in text/*|application/json) "$EDITOR" "$f";; |