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
05f2ad3d
Commit
05f2ad3d
authored
Apr 23, 2015
by
Will Mendes
Browse files
fix stackoverflow url in search
parent
b4729d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/frontend-search/frontend-search.plugin.zsh
View file @
05f2ad3d
...
@@ -105,7 +105,7 @@ function frontend() {
...
@@ -105,7 +105,7 @@ function frontend() {
url
=
"
${
url
}
emberjs.com"
url
=
"
${
url
}
emberjs.com"
url
=
"
${
url
}
/api/#stq=
$2
&stp=1"
;;
url
=
"
${
url
}
/api/#stq=
$2
&stp=1"
;;
"stackoverflow"
)
"stackoverflow"
)
url
=
"
${
url
}
https://
stackoverflow.com"
url
=
"
${
url
}
stackoverflow.com"
url
=
"
${
url
}
/search?q=
$2
"
;;
url
=
"
${
url
}
/search?q=
$2
"
;;
*
)
echo
"INVALID PARAM!"
*
)
echo
"INVALID PARAM!"
return
;;
return
;;
...
...
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