mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
updated search URL for angular
This commit is contained in:
parent
177d11d30e
commit
cfe2263f4c
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ Available search contexts are:
|
||||||
|
|
||||||
| context | URL |
|
| context | URL |
|
||||||
|---------------|--------------------------------------------------------------------------|
|
|---------------|--------------------------------------------------------------------------|
|
||||||
| angularjs | `https://google.com/search?as_sitesearch=angularjs.org&as_q=` |
|
| angularjs | `https://angular.io/?search=` |
|
||||||
| aurajs | `http://aurajs.com/api/#stq=` |
|
| aurajs | `http://aurajs.com/api/#stq=` |
|
||||||
| bem | `https://google.com/search?as_sitesearch=bem.info&as_q=` |
|
| bem | `https://google.com/search?as_sitesearch=bem.info&as_q=` |
|
||||||
| bootsnipp | `https://bootsnipp.com/search?q=` |
|
| bootsnipp | `https://bootsnipp.com/search?q=` |
|
||||||
|
|
|
@ -26,7 +26,7 @@ function frontend() {
|
||||||
# define search context URLS
|
# define search context URLS
|
||||||
typeset -A urls
|
typeset -A urls
|
||||||
urls=(
|
urls=(
|
||||||
angularjs 'https://google.com/search?as_sitesearch=angularjs.org&as_q='
|
angularjs 'https://angular.io/?search='
|
||||||
aurajs 'http://aurajs.com/api/#stq='
|
aurajs 'http://aurajs.com/api/#stq='
|
||||||
bem 'https://google.com/search?as_sitesearch=bem.info&as_q='
|
bem 'https://google.com/search?as_sitesearch=bem.info&as_q='
|
||||||
bootsnipp 'https://bootsnipp.com/search?q='
|
bootsnipp 'https://bootsnipp.com/search?q='
|
||||||
|
@ -53,7 +53,7 @@ function frontend() {
|
||||||
if [[ $# -lt 2 ]]
|
if [[ $# -lt 2 ]]
|
||||||
then
|
then
|
||||||
print -P "Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
|
print -P "Usage: frontend %Ucontext%u %Uterm%u [...%Umore%u] (or just: %Ucontext%u %Uterm%u [...%Umore%u])"
|
||||||
print -P ""
|
print -P "sample"
|
||||||
print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
|
print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website,"
|
||||||
print -P "and %Ucontext%u is one of the following:"
|
print -P "and %Ucontext%u is one of the following:"
|
||||||
print -P ""
|
print -P ""
|
||||||
|
|
Loading…
Reference in a new issue