xdg silent open in background

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
karlovskiy 2014-08-01 00:22:47 +04:00 committed by Slava Zanko
parent 9fa8174227
commit 0516ccd325
9 changed files with 9 additions and 9 deletions

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)

View File

@ -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}"
;;
*)