From: Oleg Broytman Date: Sun, 14 Apr 2019 16:13:28 +0000 (+0300) Subject: .mc/menu: Use selected (`%s`) instead of tagged (`%t`) files X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=87a7e52a49c6171d9b0de67e07778b3009d17a99;p=dotfiles.git .mc/menu: Use selected (`%s`) instead of tagged (`%t`) files --- 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