mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
This commit is contained in:
commit
07f6fd1a12
2 changed files with 4 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ __vagrant-box ()
|
|||
|
||||
case $state in
|
||||
(command)
|
||||
_describe -t commands "gem subcommand" _box_arguments
|
||||
_describe -t commands "vagrant subcommand" _box_arguments
|
||||
return
|
||||
;;
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ _arguments -C \
|
|||
|
||||
case $state in
|
||||
(command)
|
||||
_describe -t commands "gem subcommand" _1st_arguments
|
||||
_describe -t commands "vagrant subcommand" _1st_arguments
|
||||
return
|
||||
;;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ function web_search() {
|
|||
baidu "https://www.baidu.com/s?wd="
|
||||
ecosia "https://www.ecosia.org/search?q="
|
||||
goodreads "https://www.goodreads.com/search?q="
|
||||
qwant "https://www.qwant.com/?q="
|
||||
)
|
||||
|
||||
# check whether the search engine is supported
|
||||
|
|
@ -49,6 +50,7 @@ alias github='web_search github'
|
|||
alias baidu='web_search baidu'
|
||||
alias ecosia='web_search ecosia'
|
||||
alias goodreads='web_search goodreads'
|
||||
alias qwant='web_search qwant'
|
||||
|
||||
#add your own !bang searches here
|
||||
alias wiki='web_search duckduckgo \!w'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue