From 3ec64df668b8d354bc172019e93d3b28cf16ab67 Mon Sep 17 00:00:00 2001 From: Varun Vijayaraghavan Date: Fri, 7 Nov 2014 20:02:33 -0500 Subject: [PATCH] Redirect output of nohup command to /dev/null Without this it tries to delete nohup.out - which because of another plugin asks for confirmation everytime --- plugins/web-search/web-search.plugin.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh index 371e3a303..4025ccbb0 100644 --- a/plugins/web-search/web-search.plugin.zsh +++ b/plugins/web-search/web-search.plugin.zsh @@ -37,8 +37,7 @@ function web_search() { done url="${url%?}" # remove the last '+' - nohup $open_cmd "$url" - rm nohup.out + nohup $open_cmd "$url"&> /dev/null& }