чување 8f95b90ab103f836bc7b669b7d902089a6bb8ecf родитељ 40bf46151f41bf8bc4f54f4db13be7e363e53583 Аутор: Страхиња Радић <sr@strahinja.org> Датум: Mon, 8 Sep 2025 08:45:57 +0200 README: Update MC instructions for 4.8.*+ Diffstat:
| M | README | | | 18 | +++++++++++++++--- |
измењених датотека: 1, додавања: 15(+), брисања: 3(-)
diff --git a/README b/README @@ -49,11 +49,17 @@ block in do_view_action() function includes: ;; You also need to edit extension file (Command->Edit extension file) or just edit -~/.config/mc/mc.ext and add the lines: +~/.config/mc/mc.ext (before version 4.8.*) and add the lines: shell/.csv View=%view{ascii} ~/bin/text.sh view csv %var{PAGER:more} +or ~/.config/mc/mc.ext.ini (versions 4.8.* and later): + + [csv] + Shell=.csv + View=%view{ascii} ~/bin/text.sh view csv %var{PAGER:more} + before includes and default target. Bonus – TSV viewer: include @@ -62,12 +68,18 @@ Bonus – TSV viewer: include tsvtable -m -n "${MC_EXT_FILENAME}" ;; -in ~/bin/text.sh and +in ~/bin/text.sh and (before version 4.8.*) shell/.tsv View=%view{ascii} ~/bin/text.sh view tsv %var{PAGER:more} -in ~/.config/mc/mc.ext. +in ~/.config/mc/mc.ext, or (versions 4.8.* and later): + + [tsv] + Shell=.tsv + View=%view{ascii} ~/bin/text.sh view tsv %var{PAGER:more} + +in ~/.config/mc/mc.ext.ini. Configuring ranger file manager