commit dba6eeb431714e128c85d8c66d0f84c8f9c50fe2
parent 55fc0c500b0cac808abacee81add6a19d7e6251e
Author: joelazar <jozsef.gabor.lazar@gmail.com>
Date: Wed, 25 Aug 2021 10:36:10 +0200
fix fzhist plugin - get fish_history from the right place
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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