diff --git a/docs/2023-07-01-pastebin.html b/docs/2023-07-01-pastebin.html
index 6f322cf..a86d59e 100644
--- a/docs/2023-07-01-pastebin.html
+++ b/docs/2023-07-01-pastebin.html
@@ -427,7 +427,15 @@ rsync -avzP src/ dst
from history
where id not in (select max(id)
from history
- group by command);
+ group by command);
+
+delete
+from history
+where length(command) > 128;
+
+
Remove shell history:
+
+
cat /dev/null > ~/.zsh_history
diff --git a/posts/2023-07-01-pastebin.md b/posts/2023-07-01-pastebin.md
index 99c61de..3b25841 100644
--- a/posts/2023-07-01-pastebin.md
+++ b/posts/2023-07-01-pastebin.md
@@ -305,6 +305,16 @@ from history
where id not in (select max(id)
from history
group by command);
+
+delete
+from history
+where length(command) > 128;
+```
+
+Remove shell history:
+
+```sh
+cat /dev/null > ~/.zsh_history
```
## [F2](https://github.com/ayoisaiah/f2)