浏览代码

Merge pull request #3397 from peteches/master

Fixed output issues webith websearch plugin.
Robby Russell 10 年之前
父节点
当前提交
fe2ccb30af
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      plugins/web-search/web-search.plugin.zsh

+ 1 - 2
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 2&>1
 }