summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index f1c8e42..2c642ed 100644
--- a/.zshrc
+++ b/.zshrc
@@ -112,6 +112,10 @@ function title {
esac
}
+function hist {
+ rg -i "$1" "$HISTFILE"
+}
+
function refresh_tmux {
if [ -n "$TMUX" ]; then
eval $(tmux showenv -s SSH_CONNECTION)