Skip to content

Commit

Permalink
Changed a note for '!' in "Examples" section
Browse files Browse the repository at this point in the history
'!' also affects at least zsh and tcsh and not only bash.
  • Loading branch information
Andrew15-5 authored Mar 4, 2023
1 parent c40de97 commit 6fa57dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ The color configuration is similar to that of [`googler` colors](https://github.
3. **DuckDuckGo Bang** search `hello world` in Wikipedia:

$ ddgr !w hello world
$ ddgr \!w hello world // bash-specific, need to escape ! on bash
$ ddgr \!w hello world // in (some) shells (e.g. bash, zsh, tcsh) '!' character need to be escaped
Bangs work at the omniprompt too. To look up bangs, visit https://duckduckgo.com/bang?#bangs-list.
4. **Bang alias** to fire from the cmdline, open results in a GUI browser and exit:

alias bang='ddgr --gb --np'
$ bang !w hello world
$ bang \!w hello world // bash-specific, need to escape ! on bash
$ bang \!w hello world // in (some) shells (e.g. bash, zsh, tcsh) '!' character need to be escaped
5. **Website specific** search:

$ ddgr -w amazon.com digital camera
Expand Down

0 comments on commit 6fa57dc

Please sign in to comment.