aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/renamer
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/renamer')
-rwxr-xr-xplugins/renamer4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/renamer b/plugins/renamer
index 4c15764..68b6ef0 100755
--- a/plugins/renamer
+++ b/plugins/renamer
@@ -14,10 +14,10 @@
selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
-if command -v qmv >/dev/null 2>&1; then
+if which qmv >/dev/null 2>&1; then
batchrenamesel="qmv -fdo -da"
batchrename="qmv -fdo -a"
-elif command -v vidir >/dev/null 2>&1; then
+elif which vidir >/dev/null 2>&1; then
batchrenamesel="vidir"
batchrename="vidir"
else