aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/renamer
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/renamer')
-rwxr-xr-xplugins/renamer2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/renamer b/plugins/renamer
index 8ea2d92..4c15764 100755
--- a/plugins/renamer
+++ b/plugins/renamer
@@ -12,7 +12,7 @@
# Shell: POSIX compliant
# Author: José Neder
-selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection
+selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
if command -v qmv >/dev/null 2>&1; then
batchrenamesel="qmv -fdo -da"