]> Sergey Matveev's repositories - nnn.git/commitdiff
fix fzhist plugin - get fish_history from the right place
authorjoelazar <jozsef.gabor.lazar@gmail.com>
Wed, 25 Aug 2021 08:36:10 +0000 (10:36 +0200)
committerjoelazar <jozsef.gabor.lazar@gmail.com>
Wed, 25 Aug 2021 08:36:10 +0000 (10:36 +0200)
plugins/fzhist

index 91b47393ac6f346e09ec6e62c0b0a75cfe70fd20..111bc22c6edc9fcce9190a509bf0193a59d4d0c1 100755 (executable)
@@ -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