Diff
1diff --git a/plugins/frontend-search/frontend-search.plugin.zsh b/plugins/frontend-search/frontend-search.plugin.zsh
2index fe57a43d74f8f7e0a4d132ae7e580c4057654291..cad692ec4d558d41463d06500b8de070b4d80df9 100644
3--- a/plugins/frontend-search/frontend-search.plugin.zsh
4+++ b/plugins/frontend-search/frontend-search.plugin.zsh
5@@ -53,7 +53,7 @@ function frontend() {
6 if [[ $# -lt 2 ]]
7 then
8 print -P "Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
9- print -P "sample"
10+ print -P ""
11 print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
12 print -P "and %Ucontext%u is one of the following:"
13 print -P ""
14@@ -83,7 +83,7 @@ function frontend() {
15 # build search url:
16 # join arguments passed with '+', then append to search context URL
17 # TODO substitute for proper urlencode method
18- url="${urls[$1]}${(j:+:)@[2,-1]}"
19+ url="${urls[$1]}${(j:%20:)@[2,-1]}"
20
21 echo "Opening $url ..."
22