From 192bcaed5f381949f946998eb0f8967599fe2677 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 24 Dec 2013 23:38:45 +0400 Subject: [PATCH] Replace ~ -> $HOME --- INSTALL.txt | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 1dedea7..cd9991f 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -4,8 +4,9 @@ How to install an external VFS script Related to extfs installation there are two major versions of Midnight Commander. Older versions before 4.7.something use extfs.ini configuration file. Newer versions simply allow to drop a VFS script to -~/.mc/extfs.d directory. One can distinguish these versions by looking -up the file extfs.ini; run the following command from the command line: +$HOME/.mc/extfs.d directory. One can distinguish these versions by +looking up the file extfs.ini; run the following command from the +command line: locate -b \\extfs.ini @@ -28,9 +29,9 @@ example, if one's installing xml VFS one has to do something like cd /etc/mc/extfs echo xml >>extfs.ini -To use the installed VFS one also has to edit ~/.mc/mc.ext to assign the -VFS to file extension(s) or type(s). For example to assign xml VFS to -*.xml files (ignore case) and to XML file type add the following to +To use the installed VFS one also has to edit $HOME/.mc/mc.ext to assign +the VFS to file extension(s) or type(s). For example to assign xml VFS +to *.xml files (ignore case) and to XML file type add the following to mc.ext: regex/\.([xX][mM][lL])$ @@ -47,13 +48,13 @@ use_file_to_guess_type=1 This has to be done using text editor - mc doesn't allow editing the option in its configuration editor. -Newer versions ~/.mc/extfs.d ----------------------------- +Newer versions $HOME/.mc/extfs.d +-------------------------------- -For newer versions just drop a VFS script to ~/.mc/extfs.d or -~/.local/share/mc/extfs.d/ directory (verify directory by running "mc -F"). -Make the script executable. Edit mc.ext; the syntax is slightly -different: +For newer versions just drop a VFS script to $HOME/.mc/extfs.d or +$HOME/.local/share/mc/extfs.d/ directory (verify directory by running +"mc -F"). Make the script executable. Edit mc.ext; the syntax is +slightly different: regex/\.([xX][mM][lL])$ Include=xml -- 2.39.5