From 530b205b3dbac1b8ce5c38b57a2ec65cd063389a Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 8 Jul 2020 14:57:47 -0700 Subject: [PATCH] More history functions. --- dotfiles/zshrc.d/history.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dotfiles/zshrc.d/history.zsh b/dotfiles/zshrc.d/history.zsh index 88da6b6..2176861 100644 --- a/dotfiles/zshrc.d/history.zsh +++ b/dotfiles/zshrc.d/history.zsh @@ -24,3 +24,11 @@ histmode() { ;; esac } + +histsearch() { + fc -l -m "${1}" 1 +} + +histbrowse() { + fc -l 1 +}