From 39a6ff8f5862cc02114e395fdfeff98511e2ff6e Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Wed, 6 Jul 2022 13:27:00 +0200 Subject: [PATCH] Add disown --- zsh/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index 457ada9..6111c87 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -53,6 +53,6 @@ http() { open() { (( ${+commands[xdg-open]} )) || return 2 - nohup xdg-open $1 &> /dev/null & + nohup xdg-open "$1" &> /dev/null & disown }