Skip to content

Commit

Permalink
Merge pull request #1979 from 0fflineuser/master
Browse files Browse the repository at this point in the history
Follow symlink in fzplug plugin.
  • Loading branch information
jarun authored Jan 6, 2025
2 parents e131f5f + c0457a2 commit a482bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fzplug
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a482bec

Please sign in to comment.