From c0457a2492b1f7f35412ebc6abaea3e9d8996911 Mon Sep 17 00:00:00 2001 From: 0fflineuser <0fflineuser@cock.li> Date: Sun, 5 Jan 2025 18:52:48 +0100 Subject: [PATCH] Follow symlink in fzplug plugin. --- plugins/fzplug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fzplug b/plugins/fzplug index 11dcf7fc..1069f433 100755 --- a/plugins/fzplug +++ b/plugins/fzplug @@ -34,7 +34,7 @@ if type bat >/dev/null; then BAT="bat --terminal-width='$(tput cols)' --decorations=always --color=always --style='${BAT_STYLE:-header,numbers}'" fi -plugin=$(find "$nnnpluginsdir" "$CUSTOMDIR1" "$CUSTOMDIR2" \ +plugin=$(find -L "$nnnpluginsdir" "$CUSTOMDIR1" "$CUSTOMDIR2" \ -maxdepth 3 -perm -111 -type f 2>/dev/null | fzf --ansi --preview \ "${BAT:-cat} {}" --preview-window="right:66%:wrap" --delimiter / \ --with-nth -1 --bind="?:toggle-preview")