1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-23 23:03:29 +02:00

Merge pull request #2986 from Guerki/master

Run web-search in background
This commit is contained in:
Robby Russell
2014-08-31 12:16:38 -07:00
+2 -3
View File
@@ -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
}