Fix a stupid design decision

This commit is contained in:
Jacob 2023-08-12 03:51:59 +02:00
parent 7324b1e084
commit 156f0d238a

View file

@ -162,7 +162,7 @@ exec_cmd() {
[ -z "$EXEC" ] && EXEC=shell
[ "$STDOUT" != "false" ] && printf "%s\n" "$sout" && exit 1
if [ -d "$sout" ]; then
if [ -d "$sout" ] && [ ! -f "$(command -v "$sout")" ]; then
load_x "spmenu_fm"
dir="$sout"
prepare_dirnav