From a85a39fc403ef679f9840ab398cda27552218430 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 25 Sep 2020 11:26:57 +0200 Subject: [PATCH] sh: Fix fzfhistory alias Alias previously would only search the x last history entries (~20), this fixes it to search through the complete shell history. --- sh/.config/sh/alias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index 3717243..55b4d9f 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -42,7 +42,7 @@ alias myip="curl -s icanhazip.com" # fzf if exist fzf; then # Display fuzzy-searchable history - alias fzfhistory="history | fzf --tac --height 20" + alias fzfhistory="history 0 | fzf --tac --height 20" fzfman() { man "$(apropos --long "$1" | fzf | awk '{print $2, $1}' | tr -d '()')" }