소스 검색

Sane tree defaults and viu support (#649)

master
Mario GitHub 5 년 전
부모
커밋
5a565675c0
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      plugins/preview-tui

+ 3
- 1
plugins/preview-tui 파일 보기

@@ -142,7 +142,7 @@ preview_file () {
if [ -d "$1" ]; then if [ -d "$1" ]; then
cd "$1" || return cd "$1" || return
if exists tree; then if exists tree; then
fifo_pager tree fifo_pager tree -L 3 -F
elif exists exa; then elif exists exa; then
fifo_pager exa -G --colour=always 2>/dev/null fifo_pager exa -G --colour=always 2>/dev/null
else else
@@ -156,6 +156,8 @@ preview_file () {
"$1" & "$1" &
elif exists catimg; then elif exists catimg; then
catimg "$1" catimg "$1"
elif exists viu; then
viu -t "$1"
else else
fifo_pager print_bin_info "$1" fifo_pager print_bin_info "$1"
fi fi


||||||
x
 
000:0
불러오는 중...
취소
저장