mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update preview-tui (#674)
Co-authored-by: akimdi <akimdi@users.noreply.github.com>
This commit is contained in:
parent
d3e20e9015
commit
53bbcbc223
|
@ -173,7 +173,7 @@ preview_file () {
|
|||
fifo_pager man -Pcat -l "$1"
|
||||
else
|
||||
if exists bat; then
|
||||
fifo_pager bat --paging=never --decorations=always --color=always \
|
||||
fifo_pager bat --terminal-width="$cols" --paging=never --decorations=always --color=always \
|
||||
"$1" 2>/dev/null
|
||||
else
|
||||
$PAGER "$1" &
|
||||
|
|
Loading…
Reference in a new issue