Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
23bbf3cc
Commit
23bbf3cc
authored
Aug 31, 2014
by
Robby Russell
Browse files
Merge pull request #2986 from Guerki/master
Run web-search in background
parents
6cb8b720
65ce7650
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/web-search/web-search.plugin.zsh
View file @
23bbf3cc
# 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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment