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
|
# Custom Functions
|
||||||
cmd open ${{
|
cmd open ${{
|
||||||
case $(file -bL --mime-type "$1") in
|
case $(file -bL --mime-type "$f") in
|
||||||
text/*) setsid -f "$TERMINAL -e xdg-open $f" >/dev/null 2>&1 &;;
|
text/*) setsid -f "$TERMINAL" -e xdg-open "$f" >/dev/null 2>&1 &;;
|
||||||
*) setsid -f xdg-open "$f" >/dev/null 2>&1 &;;
|
*) setsid -f xdg-open "$f" >/dev/null 2>&1 &;;
|
||||||
esac
|
esac
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue