From c02f087ae4ae10b69ba4b82103d44f5a2e1142b2 Mon Sep 17 00:00:00 2001 From: Joe Block Date: Thu, 7 Nov 2024 14:24:37 -0700 Subject: [PATCH] Add `nyoungstudios/zsh-history-on-success` Add `nyoungstudios/zsh-history-on-success` plugin Signed-off-by: Joe Block --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 454b65a..54e67d4 100644 --- a/README.md +++ b/README.md @@ -1076,6 +1076,7 @@ Here are a few good sources for Nerd Fonts and Powerline-compatible fonts: - [history-enquirer](https://github.com/zthxxx/zsh-history-enquirer) - Enhances history search with more interaction and a multiline selection menu. Requires Node.js. - [history-filter](https://github.com/MichaelAquilina/zsh-history-filter) - Allows you to specify patterns that will automatically exclude commands from being inserted into your permanent history. Particularly useful for preventing secrets being written. - [history-here](https://github.com/leonjza/history-here) - Binds `^G` to quickly toggle the current shell history file location. +- [history-on-success](https://github.com/nyoungstudios/zsh-history-on-success) - Save yourself from repeating the same mistakes by filtering out your unsuccessful commands from your zsh history file. Based on a [blog post](https://scarff.id.au/blog/2019/zsh-history-conditional-on-command-success/) by Dean Scarff. - [history-popup](https://github.com/lcrespom/oh-my-zsh-history-popup) - Captures the `PageUp` key and uses `dialog` to open a popup menu with the history, so the user can interactively navigate through it and pick the history line to bring back to the prompt. - [history-search-multi-word](https://github.com/zdharma-continuum/history-search-multi-word) - A syntax highlighted, multi-word history searcher for ZSH, bound to Ctrl-R, with advanced functions (e.g. bump of history entry to top of history). - [history-substring-search](https://github.com/zsh-users/zsh-history-substring-search) - Needs to be loaded after `zsh-syntax-highlighting`, or they'll both break. You'll also need to bind keys to its functions, details are in the README.md.