From dba6eeb431714e128c85d8c66d0f84c8f9c50fe2 Mon Sep 17 00:00:00 2001 From: joelazar Date: Wed, 25 Aug 2021 10:36:10 +0200 Subject: [PATCH] fix fzhist plugin - get fish_history from the right place --- plugins/fzhist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fzhist b/plugins/fzhist index 91b47393..111bc22c 100755 --- a/plugins/fzhist +++ b/plugins/fzhist @@ -20,7 +20,7 @@ if [ "$shellname" = "bash" ]; then hist_file="$HOME/.bash_history" entry="$("$fuzzy" < "$hist_file")" elif [ "$shellname" = "fish" ]; then - hist_file="$HOME/.config/fish/fish_history" + hist_file="$HOME/.local/share/fish/fish_history" entry="$(grep "\- cmd: " "$hist_file" | cut -c 8- | "$fuzzy")" fi