zquestz / s

Open a web search in your terminal.
MIT License
2.34k stars 114 forks source link

change default provider #170

Closed adnjoo closed 2 years ago

adnjoo commented 2 years ago

Hi, is there a way to change the default provider from presearch to e.g. google without using the -p flag?

adnjoo commented 2 years ago

Hi, never mind. I found the alias setting. I edited my ~/.zshrc profile with the following lines:

alias sg="s -p google"
alias sy="s -p youtube"

for faster searching.