Browse Source

Ticket #1686: use 'see' utility for vieweing images

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko 12 years ago
parent
commit
5082d01ebd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      misc/ext.d/image.sh

+ 2 - 0
misc/ext.d/image.sh

@@ -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