From 87a7e52a49c6171d9b0de67e07778b3009d17a99 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 14 Apr 2019 19:13:28 +0300 Subject: [PATCH] .mc/menu: Use selected (`%s`) instead of tagged (`%t`) files --- .mc/menu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.mc/menu b/.mc/menu index f0ce0c0..d219106 100644 --- a/.mc/menu +++ b/.mc/menu @@ -10,9 +10,9 @@ shell_patterns=0 exec $CMD %s + t t -@ Do something on the tagged files one by one +@ Do something on the selected files one by one CMD=%{Enter command} - for f in %t; do + for f in %s; do $CMD "$f" done @@ -311,7 +311,7 @@ y zip the file/directory with recoded filename(s) exec zip.py %f.zip %f + t t -Z zip these files/directories +Z zip selected files/directories ZIP=%{Enter zip name} exec zip -r9 "$ZIP" %s -- 2.39.5