Changes between Version 1 and Version 2 of Ticket #4479, comment 7
- Timestamp:
- 08/29/24 11:15:18 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4479, comment 7
v1 v2 6 6 /usr/libexec/mc/ext.d/image.sh: line 9: [: -n: binary operator expected 7 7 8 8 9 My original lines 9, 10 & 11 work correctly after removing the parenthesis. 10 11 To 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) 9 16 10 17 In addition, the " && sleep 10" is needed otherwise the message will not be seen until mc is exited.