aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dragdrop
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-24 10:12:24 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-04-24 18:12:18 +0530
commitbc572df55a35cc738466996abe26339fc5acaeda (patch)
tree3798d449e971b9265a79a901ccc8b7ca37dd5f8d /plugins/dragdrop
parent752bc67de03d158ece3f0fb43f6f2a3e6b2011b9 (diff)
downloadnnn-bc572df55a35cc738466996abe26339fc5acaeda.tar.gz
NNN_SEL: custom selection file
Diffstat (limited to 'plugins/dragdrop')
-rwxr-xr-xplugins/dragdrop2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dragdrop b/plugins/dragdrop
index bbbd19e..bc01d87 100755
--- a/plugins/dragdrop
+++ b/plugins/dragdrop
@@ -13,7 +13,7 @@
# Shell: POSIX compliant
# Author: 0xACE
-selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
+selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
resp=f
all=
if which dragon-drag-and-drop >/dev/null 2>&1; then