mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #1686: use 'see' utility for vieweing images
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
804ccfb467
commit
5082d01ebd
@ -38,6 +38,8 @@ do_open_action() {
|
||||
*)
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
(gqview "${MC_EXT_FILENAME}" &)
|
||||
elif see >/dev/null 2>&1; then
|
||||
(see "${MC_EXT_FILENAME}" &)
|
||||
else
|
||||
zgv "${MC_EXT_FILENAME}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user