mirror of
https://github.com/jarun/nnn.git
synced 2025-01-07 08:31:07 +00:00
Follow symlink in fzplug plugin.
This commit is contained in:
parent
da73d9ada9
commit
c0457a2492
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue