Commit 23bbf3cc authored by Robby Russell's avatar Robby Russell

Merge pull request #2986 from Guerki/master

Run web-search in background
parents 6cb8b720 65ce7650
# web_search from terminal # web_search from terminal
function web_search() { function web_search() {
# get the open command # get the open command
local open_cmd local open_cmd
if [[ $(uname -s) == 'Darwin' ]]; then if [[ $(uname -s) == 'Darwin' ]]; then
...@@ -38,8 +37,8 @@ function web_search() { ...@@ -38,8 +37,8 @@ function web_search() {
done done
url="${url%?}" # remove the last '+' url="${url%?}" # remove the last '+'
nohup $open_cmd "$url"
$open_cmd "$url" rm nohup.out
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment