aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/splitjoin
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-20 19:10:47 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-20 19:17:00 +0530
commit2d1d17616058126ef4c7e156f5925006839a822f (patch)
tree49b3ffe60d60d25280672d660cb94225532ebfdb /plugins/splitjoin
parent98a8eb1805f6f5df38dedb68ece57dc7b19bf52b (diff)
downloadnnn-2d1d17616058126ef4c7e156f5925006839a822f.tar.gz
Fix #288
Diffstat (limited to 'plugins/splitjoin')
-rwxr-xr-xplugins/splitjoin2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/splitjoin b/plugins/splitjoin
index 4325d3a..f79d92e 100755
--- a/plugins/splitjoin
+++ b/plugins/splitjoin
@@ -8,7 +8,7 @@
# Shell: POSIX compliant
# Author: Arun Prakash Jana
-selection=~/.config/nnn/.selection
+selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
resp=s
if [ -s "$selection" ]; then