소스 검색

Fix dragdrop stderr causing issues (#374)

For w/e reason the output from `which` causes problems with nnn
rendering. This commit silences the problematic lines.
master
0xACE Mischievous Meerkat 5 년 전
부모
커밋
955826a1e8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      plugins/dragdrop

+ 3
- 3
plugins/dragdrop 파일 보기

@@ -19,10 +19,10 @@ all=

dnd()
{
if which dragon-drag-and-drop; then
dragon-drag-and-drop "$@"
if which dragon-drag-and-drop 2>&1 >/dev/null; then
dragon-drag-and-drop "$@" 2>/dev/null
else
dragon "$@"
dragon "$@" 2>/dev/null
fi
}



불러오는 중...
취소
저장