This commit is contained in:
15cm 2018-04-09 16:24:21 -04:00
commit 07f6fd1a12
2 changed files with 4 additions and 2 deletions

View file

@ -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
;;

View file

@ -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'