--- /dev/null
+## websearch
+
+Setup some functions and aliases to open various search engines (Google, Ecosia,
+DuckDuckGo, ...) from the command line.
+
+### Functions
+
+- `duckduckgo`: Open DuckDuckGo for the given search terms.
+- `ecosia`: Open Ecosia for the given search terms.
+- `google`: Open Google for the given search terms.
+
+### Aliases
+
+- `ddg`: `duckduckgo`
+- `eco`: `ecosia`
+- `g0`: `google`
--- /dev/null
+# AX-ZSH: Alex' Modular ZSH Configuration
+# google.zshrc: Setup functions for using Google in the command line
+
+# This is an optional plugin.
+[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92
+
+function duckduckgo {
+ url="https://duckduckgo.com/?q=$@"
+ open_command "$url" || echo "DuckDuckGo: <$url>"
+}
+alias ddg='duckduckgo'
+
+function ecosia {
+ url="https://www.ecosia.org/search?q=$@"
+ open_command "$url" || echo "Ecosia: <$url>"
+}
+alias eco='ecosia'
+
+function google {
+ url="https://www.google.de/search?q=$@"
+ open_command "$url" || echo "Google: <$url>"
+}
+alias g0='google'