From: Oleg Broytman Date: Fri, 3 Nov 2023 13:57:35 +0000 (+0300) Subject: .mc/menu: Remove excessive quotes: MC escapes `%[dfst]` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=655c228789cb93051f0f8ee0841f547c41b57374;p=dotfiles.git .mc/menu: Remove excessive quotes: MC escapes `%[dfst]` --- 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