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
Oh My Zsh
Commits
adaea31c
Commit
adaea31c
authored
Dec 27, 2014
by
Marc Cornellà
Browse files
Silence nohup output in web-search plugin
parent
80ba54a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/web-search/web-search.plugin.zsh
View file @
adaea31c
...
@@ -39,7 +39,7 @@ function web_search() {
...
@@ -39,7 +39,7 @@ function web_search() {
url
=
"
${
(j
://:
)
${
(s
:/:
)urls[
$1
]
}
[1,2]
}
"
url
=
"
${
(j
://:
)
${
(s
:/:
)urls[
$1
]
}
[1,2]
}
"
fi
fi
nohup
$open_cmd
"
$url
"
>
/dev/null
2&>1
nohup
$open_cmd
"
$url
"
&
>/dev/null
}
}
...
...
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