Merge remote-tracking branch 'blessed/master'

* blessed/master:
  Add Ecosia to web-search plugin.
  Use $HOME instead of tilde inside quotes
  Cleanup update_terminalapp_cwd function
  Quote all variables in if statements
  Use a case structure to id terminal types
This commit is contained in:
Carlos Cardoso 2015-12-10 21:38:40 -02:00
commit dae6a2b327
3 changed files with 28 additions and 17 deletions

View file

@ -13,6 +13,7 @@ function web_search() {
yandex "https://yandex.ru/yandsearch?text="
github "https://github.com/search?q="
baidu "https://www.baidu.com/s?wd="
ecosia "https://www.ecosia.org/search?q="
)
# check whether the search engine is supported
@ -43,6 +44,7 @@ alias ddg='web_search duckduckgo'
alias yandex='web_search yandex'
alias github='web_search github'
alias baidu='web_search baidu'
alias ecosia='web_search ecosia'
#add your own !bang searches here
alias wiki='web_search duckduckgo \!w'