Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
2ef7c73c
Unverified
Commit
2ef7c73c
authored
Aug 30, 2023
by
t-aswath
Committed by
GitHub
Aug 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(web-search): add `youtube` alias (#11865)
parent
bf774211
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
web-search.plugin.zsh
plugins/web-search/web-search.plugin.zsh
+3
-1
No files found.
plugins/web-search/web-search.plugin.zsh
View file @
2ef7c73c
...
@@ -25,6 +25,7 @@ function web_search() {
...
@@ -25,6 +25,7 @@ function web_search() {
archive
"https://web.archive.org/web/*/"
archive
"https://web.archive.org/web/*/"
scholar
"https://scholar.google.com/scholar?q="
scholar
"https://scholar.google.com/scholar?q="
ask
"https://www.ask.com/web?q="
ask
"https://www.ask.com/web?q="
youtube
"https://www.youtube.com/results?search_query="
)
)
# check whether the search engine is supported
# check whether the search engine is supported
...
@@ -66,11 +67,12 @@ alias wolframalpha='web_search wolframalpha'
...
@@ -66,11 +67,12 @@ alias wolframalpha='web_search wolframalpha'
alias
archive
=
'web_search archive'
alias
archive
=
'web_search archive'
alias
scholar
=
'web_search scholar'
alias
scholar
=
'web_search scholar'
alias
ask
=
'web_search ask'
alias
ask
=
'web_search ask'
alias
youtube
=
'web_search youtube'
#add your own !bang searches here
#add your own !bang searches here
alias
wiki
=
'web_search duckduckgo \!w'
alias
wiki
=
'web_search duckduckgo \!w'
alias
news
=
'web_search duckduckgo \!n'
alias
news
=
'web_search duckduckgo \!n'
alias
youtube
=
'web_search duckduckgo \!yt'
#
alias youtube='web_search duckduckgo \!yt'
alias
map
=
'web_search duckduckgo \!m'
alias
map
=
'web_search duckduckgo \!m'
alias
image
=
'web_search duckduckgo \!i'
alias
image
=
'web_search duckduckgo \!i'
alias
ducky
=
'web_search duckduckgo \!'
alias
ducky
=
'web_search duckduckgo \!'
...
...
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