aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ndiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ndiff')
-rwxr-xr-xplugins/ndiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ndiff b/plugins/ndiff
index 00dc059..9590cf4 100755
--- a/plugins/ndiff
+++ b/plugins/ndiff
@@ -8,7 +8,7 @@
# Shell: POSIX compliant
# Author: Arun Prakash Jana
-selection=~/.config/nnn/.selection
+selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
if [ -s $selection ]; then
arr=$(tr '\0' '\n' < "$selection")