From 28d1e36003b55fb044e15c71acb350fca5f53a68 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 28 Jan 2024 21:21:33 +0100 Subject: [PATCH] Update 'fzf-book' script --- .bin/fzf-book | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bin/fzf-book b/.bin/fzf-book index 69e6f57..19791f1 100755 --- a/.bin/fzf-book +++ b/.bin/fzf-book @@ -22,3 +22,5 @@ case "$1" in --help) printf "open \n" >&2 ;; *) open "$(select_file)" ;; esac + +[[ -n "$selected" ]] && xdg-open "$selected" &> /dev/null & disown