commit 955826a1e83a617069a419bce82ce5694f3c68dd parent 6713bfba13a05c45c82d537c4bb08a2f4c076faf Author: 0xACE <0xACE@users.noreply.github.com> Date: Mon, 4 Nov 2019 03:42:00 +0100 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. Diffstat:
| M | plugins/dragdrop | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/dragdrop b/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 }