nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a482becc75aa663f12993193b02993cae0bc768f
parent e131f5f32b92d21e97c76e71129486ae31a596d8
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  6 Jan 2025 18:44:25 +0530

Merge pull request #1979 from 0fflineuser/master

Follow symlink in fzplug plugin.
Diffstat:
Mplugins/fzplug | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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")