diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-24 10:12:24 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-24 18:12:18 +0530 |
commit | bc572df55a35cc738466996abe26339fc5acaeda (patch) | |
tree | 3798d449e971b9265a79a901ccc8b7ca37dd5f8d /plugins/diffs | |
parent | 752bc67de03d158ece3f0fb43f6f2a3e6b2011b9 (diff) | |
download | nnn-bc572df55a35cc738466996abe26339fc5acaeda.tar.gz |
NNN_SEL: custom selection file
Diffstat (limited to 'plugins/diffs')
-rwxr-xr-x | plugins/diffs | 2 |
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" |