23bbf3cc2bffb059506b7995e34cd451dc0a947a

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2986 from Guerki/master

Run web-search in background

Diff

 1diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh
 2index 8eedb90ee5fe0671a64370db859ae592672e5354..e157a389d3371ccda540ae3ee507406c60ba7a5c 100644
 3--- a/plugins/web-search/web-search.plugin.zsh
 4+++ b/plugins/web-search/web-search.plugin.zsh
 5@@ -1,7 +1,6 @@
 6 # web_search from terminal
 7 
 8 function web_search() {
 9-
10   # get the open command
11   local open_cmd
12   if [[ $(uname -s) == 'Darwin' ]]; then
13@@ -38,8 +37,8 @@ function web_search() {
14   done
15 
16   url="${url%?}" # remove the last '+'
17-  
18-  $open_cmd "$url"
19+  nohup $open_cmd "$url" 
20+ 	rm nohup.out	
21 }
22 
23