diff options
author | Robby Russell <robby@planetargon.com> | 2014-08-31 12:16:38 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-08-31 12:16:38 -0700 |
commit | 23bbf3cc2bffb059506b7995e34cd451dc0a947a (patch) | |
tree | 276917fe7b07c6e95de29b4887b6e7309ff152bd /plugins/web-search | |
parent | 6cb8b720b3d9fcde438daeac8f0122d61ce9b735 (diff) | |
parent | 65ce765043e75ffb459763565f21df786022f092 (diff) | |
download | zsh-23bbf3cc2bffb059506b7995e34cd451dc0a947a.tar.gz zsh-23bbf3cc2bffb059506b7995e34cd451dc0a947a.tar.bz2 zsh-23bbf3cc2bffb059506b7995e34cd451dc0a947a.zip |
Merge pull request #2986 from Guerki/master
Run web-search in background
Diffstat (limited to 'plugins/web-search')
-rw-r--r-- | plugins/web-search/web-search.plugin.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/web-search/web-search.plugin.zsh b/plugins/web-search/web-search.plugin.zsh index 8eedb90ee..e157a389d 100644 --- a/plugins/web-search/web-search.plugin.zsh +++ b/plugins/web-search/web-search.plugin.zsh @@ -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 } |