From fa436913e158ea35e19728242fe935d0e5e05ad6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 9 Nov 2020 20:32:59 +0300 Subject: [PATCH] Fix(.mc/mc.ext): Fix ascii view After `%view{ascii}` there must a command producing text output, not a file name; default is to just view the file. --- .mc/mc.ext | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mc/mc.ext b/.mc/mc.ext index d2444d3..140282d 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -96,7 +96,7 @@ include/audio Open=[ "`audtool --get-volume`" -eq 0 ] && (audacious & sleep 3); audtool --playlist-clear; case %f in *.m3u) while read song; do audtool --playlist-addurl "$song"; done < %f ;; *) audtool --playlist-addurl %f ;; esac; audtool --playback-play #Open=mplayer %f & #Open=deadbeef %f & - View=%view{ascii} %f + View=%view{ascii} include/msoffice-doc Edit=libreoffice %f & @@ -110,7 +110,7 @@ include/msoffice-xlsx #include/video # Open=mplayer %f & -# View=%view{ascii} %f +# View=%view{ascii} # include/xml Open=%cd %p/xml:// -- 2.39.5