aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/diffs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/diffs')
-rwxr-xr-xplugins/diffs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/diffs b/plugins/diffs
index ff85aa8..294c5e7 100755
--- a/plugins/diffs
+++ b/plugins/diffs
@@ -10,7 +10,7 @@
# Shell: POSIX compliant
# Authors: Arun Prakash Jana, ath3
-selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
+selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
if which nvim >/dev/null 2>&1; then
diffcmd="nvim -d"