From 2d1d17616058126ef4c7e156f5925006839a822f Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 20 Jun 2019 19:10:47 +0530 Subject: Fix #288 --- plugins/ndiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ndiff') 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") -- cgit v1.2.3-70-g09d2