diff options
Diffstat (limited to '')
-rwxr-xr-x | home-manager/config/lf/cmds/open | 2 | ||||
-rwxr-xr-x | home-manager/config/lf/cmds/open_config | 2 |
2 files changed, 2 insertions, 2 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";; diff --git a/home-manager/config/lf/cmds/open_config b/home-manager/config/lf/cmds/open_config index 342183e0..d04f01b9 100755 --- a/home-manager/config/lf/cmds/open_config +++ b/home-manager/config/lf/cmds/open_config @@ -4,7 +4,7 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH -LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d) + "$EDITOR" "$(bookmenu -b ~/.config/bookmenu/configs -f fzf -o)" # TODO implement this |