aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/diffs
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/diffs
parent752bc67de03d158ece3f0fb43f6f2a3e6b2011b9 (diff)
downloadnnn-bc572df55a35cc738466996abe26339fc5acaeda.tar.gz
NNN_SEL: custom selection file
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"