commit ad968b88da8d5cdcf8630a22f21dfcdc3edf275c
parent 55fc0c500b0cac808abacee81add6a19d7e6251e
Author: Terminator X <engineerarun@gmail.com>
Date: Wed, 25 Aug 2021 16:25:20 +0530
Merge pull request #1143 from joelazar/master
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