aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md20
1 files changed, 13 insertions, 7 deletions
diff --git a/README.md b/README.md
index 69d9a24..40ad032 100644
--- a/README.md
+++ b/README.md
@@ -196,15 +196,11 @@ gist tag tag1 tag2
196``` 196```
197![](https://i.imgur.com/rchqMN1.png) 197![](https://i.imgur.com/rchqMN1.png)
198 198
199#### Pin/Unpin tags 199You can also use regex pattern as tag value:
200Say you are working with gists with some meaningful tags. You can use sub-command `pin` to pin them, and filter your gists with pinned tags
201```bash 200```bash
202# Pin tag1 and tag2, If a tag is pinned, then unpin it 201# only show tagged gists
203gist pin tag1 tag2 202gist tag .+
204# Disply gists with pinned tags
205gist pin
206``` 203```
207![](https://i.imgur.com/LuEjNry.png)
208 204
209#### Show existing tags 205#### Show existing tags
210Use sub-command `tags` to show existing tags and pinned tags. They are sorted alphabetically. 206Use sub-command `tags` to show existing tags and pinned tags. They are sorted alphabetically.
@@ -213,6 +209,16 @@ gist tags
213``` 209```
214![](https://i.imgur.com/PuwmaK4.png) 210![](https://i.imgur.com/PuwmaK4.png)
215 211
212#### Pin/Unpin tags
213Say you are working with gists with some meaningful tags. You can use sub-command `pin` to pin them, and filter your gists with pinned tags
214```bash
215# Pin tag1 and tag2, If a tag is pinned, then unpin it
216gist pin tag1 tag2
217# Disply gists with pinned tags
218gist pin
219```
220![](https://i.imgur.com/LuEjNry.png)
221
216### Filter by pattern 222### Filter by pattern
217You can search gists with pattern in description, filename or file contents with sub-command `grep` 223You can search gists with pattern in description, filename or file contents with sub-command `grep`
218```bash 224```bash