Skip to content

Commit 2dc445c

Browse files
committed
Update README.md
1 parent dcae5c2 commit 2dc445c

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,23 +122,28 @@ http://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt
122122
<pre>$ googler it\'s a \"beautiful world\" in spring</pre>
123123
6. Search for a <b>specific file type</b>:
124124
<pre>$ googler instrumental filetype:mp3</pre>
125-
7. <b>I'm feeling lucky</b> search:
125+
7. Disable <b>automatic spelling correction</b> and fetch results for `googler` instead of `google`:
126+
<pre>$ googler -x googler</pre>
127+
8. <b>I'm feeling lucky</b> search:
126128
<pre>$ googler -j leather jackets</pre>
127-
8. <b>Website specific</b> search alias:
129+
9. <b>Website specific</b> search alias:
128130
<pre>alias t='googler -n 7 site:tuxdiary.com'</pre>
129-
9. Alias to find <b>meanings of words</b> (note: the first result in Google is not a link):
131+
10. Alias to find <b>meanings of words</b> (note: the first result in Google is not a link):
130132
<pre>alias define='googler -n 2 define'</pre>
131-
10. Look up `n`, `p`, `g co` or a number at <b>navigation prompt</b>:
133+
11. Look up `n`, `p`, `g co` or a number at <b>navigation prompt</b>:
132134
As the navigation prompt recognizes `n`, `p`, `g keywords` or numbers as keys, they can't be searched directly without the `g` key. To search them -
133135
<pre>Enter 'n', 'p', 'g keywords', or result number to continue: <b>g n</b>
134136
Enter 'n', 'p', 'g keywords', or result number to continue: <b>g g keywords</b>
135137
Enter 'n', 'p', 'g keywords', or result number to continue: <b>g 1984</b></pre>
136138
Note that Google ignores searches for negative numbers (e.g. `-1984`).
137-
11. Input and output <b>redirection</b>:
139+
12. Input and output <b>redirection</b>:
138140
<pre>$ googler -C hello world < input > output</pre>
139141
Note that `-C` is required to avoid printing control characters. `2>&1` would error as the console geometry is calculated from `stderr`.
140-
12. <b>Piping</b> `googler` output:
142+
13. <b>Piping</b> `googler` output:
141143
<pre>$ googler -C hello world | tee output</pre>
144+
14. More <b>help</b>:
145+
<pre>$ googler
146+
$ man googler</pre>
142147

143148
# Troubleshooting
144149

0 commit comments

Comments
 (0)