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
8b95bdb5
Commit
8b95bdb5
authored
Apr 19, 2015
by
Sriram Sundarraj
Committed by
ncanceill
Jun 13, 2015
Browse files
Added github in web_search plugin.
parent
83295ec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/web-search/web-search.plugin.zsh
View file @
8b95bdb5
...
...
@@ -11,6 +11,7 @@ function web_search() {
yahoo
"https://search.yahoo.com/search?p="
duckduckgo
"https://www.duckduckgo.com/?q="
yandex
"https://yandex.ru/yandsearch?text="
github
"https://github.com/search?q="
)
# define the open command
...
...
@@ -49,6 +50,7 @@ alias google='web_search google'
alias
yahoo
=
'web_search yahoo'
alias
ddg
=
'web_search duckduckgo'
alias
yandex
=
'web_search yandex'
alias
github
=
'web_search github'
#add your own !bang searches here
alias
wiki
=
'web_search duckduckgo \!w'
...
...
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