Redirect output of nohup command to /dev/null

Without this it tries to delete nohup.out - which because of another plugin asks for confirmation everytime
This commit is contained in:
Varun Vijayaraghavan 2014-11-07 20:02:33 -05:00
commit 3ec64df668

View file

@ -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&
}