mirror of https://codeberg.org/anemofilia/zero
files: lf: Fix open command
parent
168c884570
commit
1607913e54
|
@ -29,8 +29,8 @@ set info time
|
|||
|
||||
# Custom Functions
|
||||
cmd open ${{
|
||||
case $(file -bL --mime-type "$1") in
|
||||
text/*) setsid -f "$TERMINAL -e xdg-open $f" >/dev/null 2>&1 &;;
|
||||
case $(file -bL --mime-type "$f") in
|
||||
text/*) setsid -f "$TERMINAL" -e xdg-open "$f" >/dev/null 2>&1 &;;
|
||||
*) setsid -f xdg-open "$f" >/dev/null 2>&1 &;;
|
||||
esac
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue