Browse Source

Merge pull request #2986 from Guerki/master

Run web-search in background
Robby Russell 10 years ago
parent
commit
23bbf3cc2b
1 changed files with 2 additions and 3 deletions
  1. 2 3
      plugins/web-search/web-search.plugin.zsh

+ 2 - 3
plugins/web-search/web-search.plugin.zsh

@@ -1,7 +1,6 @@
 # web_search from terminal
 
 function web_search() {
-
   # get the open command
   local open_cmd
   if [[ $(uname -s) == 'Darwin' ]]; then
@@ -38,8 +37,8 @@ function web_search() {
   done
 
   url="${url%?}" # remove the last '+'
-  
-  $open_cmd "$url"
+  nohup $open_cmd "$url" 
+ 	rm nohup.out	
 }