From 655c228789cb93051f0f8ee0841f547c41b57374 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 3 Nov 2023 16:57:35 +0300 Subject: [PATCH] .mc/menu: Remove excessive quotes: MC escapes `%[dfst]` --- .mc/menu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mc/menu b/.mc/menu index cd22a70..08fce49 100644 --- a/.mc/menu +++ b/.mc/menu @@ -75,7 +75,7 @@ e View pdf with evince += t lr & f \.(pdf|PDF)$ e View pdf with qpdfview - if [ "%d/%f" = "`echo %d/%f | iconv -t utf-8`" ]; then qpdfview %f & else src=%d/%f; dest="$HOME/tmp/`echo $src | iconv -t koi8-r | koi2lat | sed 's!/!%!g'`"; ln -s "$src" "$dest" && qpdfview "$dest" & (sleep 3; exec rm -f "$dest") & fi + if [ %d/%f = "`echo %d/%f | iconv -t utf-8`" ]; then qpdfview %f & else src=%d/%f; dest="$HOME/tmp/`echo $src | iconv -t koi8-r | koi2lat | sed 's!/!%!g'`"; ln -s "$src" "$dest" && qpdfview "$dest" & (sleep 3; exec rm -f "$dest") & fi += t lr & f \.djvu(\.bz2|\.gz)?$ e View djvu -- 2.39.5