diff options
Diffstat (limited to 'home-manager/config/lf/cmds/open')
-rwxr-xr-x | home-manager/config/lf/cmds/open | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/home-manager/config/lf/cmds/open b/home-manager/config/lf/cmds/open index 78cef374..2065eee3 100755 --- a/home-manager/config/lf/cmds/open +++ b/home-manager/config/lf/cmds/open @@ -4,13 +4,9 @@ # . ~/.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 - -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi # vim: ft=sh |