From 63fa93e89e672e05059252b9df80d3ade5b1cd13 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 23 Jan 2024 16:42:22 +0800 Subject: [PATCH] docs: simplify installation instructions --- docs/installation.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 7180db9e..fec7b101 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -99,15 +99,9 @@ Yazi relies on `file(1)` to detect the `mime-type` of the file, and the easiest To check if you've done this properly, enter `file`, you should see output similar to the following: -``` -C:\Users\USERNAME>file -Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] - [--mime-type] [-e ] [-F ] [-f ] - [-m ] [-P ] [--exclude-quiet] - ... - file -C [-m ] - file [--help] - +```powershell +C:\Users\yazi> file -v +file-5.45 ``` This is currently the only method we recommend. **We do NOT recommend `scoop install file`**, since Scoop's `file` cannot handle Unicode file names (such as `pexels-oliver-sjöström-1433052.jpg`) properly.