From: joelazar Date: Wed, 25 Aug 2021 08:36:10 +0000 (+0200) Subject: fix fzhist plugin - get fish_history from the right place X-Git-Tag: v4.3~29^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=dba6eeb431714e128c85d8c66d0f84c8f9c50fe2;p=nnn.git fix fzhist plugin - get fish_history from the right place --- 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