1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

Run Web-search as a Background Process with Nohup

This commit is contained in:
Guerki 2014-07-29 09:21:10 +02:00
parent 5728a5608d
commit db3dd6d755

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
}