Changes between Version 1 and Version 2 of Ticket #4479, comment 7


Ignore:
Timestamp:
08/29/24 11:15:18 (2 months ago)
Author:
glennmcc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4479, comment 7

    v1 v2  
    66/usr/libexec/mc/ext.d/image.sh: line 9: [: -n: binary operator expected 
    77 
     8 
    89My original lines 9, 10 & 11 work correctly after removing the parenthesis. 
     10 
     11To compress it all onto one line, this works. 
     12 
     13[ -n "$DISPLAY" ] && [ -n "${MC_XDG_OPEN}" ] ll MC_XDG_OPEN="xdg-open" 
     14 
     15(had to use 'll' because the vertical bars are coming thru in this posting) 
    916 
    1017In addition, the " && sleep 10" is needed otherwise the message will not be seen until mc is exited.