|
@@ -23,6 +23,12 @@ Now I want to test my grep...
|
|
|
recall find | grep 'pattern' # no-need to run find again, only need the output
|
|
|
```
|
|
|
|
|
|
+Original find command had non-zero exit status due to partial failures...
|
|
|
+
|
|
|
+```bash
|
|
|
+recall -z find | if [ "$?" == "0" ]; then grep 'pattern'; fi # suppress error
|
|
|
+```
|
|
|
+
|
|
|
With aliases in `.zshrc` and `.shrc`...
|
|
|
|
|
|
```bash
|
|
@@ -46,3 +52,8 @@ I want to see all the captured commands...
|
|
|
```bash
|
|
|
@ -l
|
|
|
```
|
|
|
+
|
|
|
+I want to see only the last 30 captured `find` commands...
|
|
|
+```bash
|
|
|
+@ -l -n 30 find
|
|
|
+```
|