Parcourir la source

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 il y a 5 ans
Parent
révision
955826a1e8
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      plugins/dragdrop

+ 3
- 3
plugins/dragdrop Voir le fichier

@@ -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
}



Chargement…
Annuler
Enregistrer