mirror of https://github.com/MidnightCommander/mc
xdg silent open in background
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
9fa8174227
commit
0516ccd325
|
@ -143,7 +143,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}" "${pager}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -187,7 +187,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -57,7 +57,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -91,7 +91,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -51,7 +51,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -84,7 +84,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -135,7 +135,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}" "${pager}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -43,7 +43,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -46,7 +46,7 @@ view)
|
|||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
"${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue