From 7b33bf13f9db71d2a28caa792959fb47eb240e77 Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Fri, 4 Apr 2025 17:42:35 +0000 Subject: [PATCH] Add aliases for easy searching of history --- bash/.aliases | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bash/.aliases b/bash/.aliases index 01e91d2..71ca0be 100644 --- a/bash/.aliases +++ b/bash/.aliases @@ -39,6 +39,13 @@ alias df="df -h" # Human readable file size inspection alias du="du -sh" +# History searches +alias hgrep='history | grep --color' +alias phgrep="cat ${PERSISTENT_HISTFILE} | grep --color" + +alias hfzf='history | fzf' +alias phfzf="cat ${PERSISTENT_HISTFILE} | fzf" + #{- NETWORKING -}#