From f94c62661ab92aa7b3fdf30459ef80289f04ffb1 Mon Sep 17 00:00:00 2001 From: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com> Date: Mon, 8 Sep 2025 06:03:04 +0200 Subject: [PATCH] Update documentation to mention `PowerShell` config (#2135) --- doc.md | 4 ++++ doc.txt | 4 ++++ lf.1 | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc.md b/doc.md index cca4cc37..568e8a87 100644 --- a/doc.md +++ b/doc.md @@ -287,6 +287,10 @@ The following commands/keybindings are provided by default: cmd cmaps !%lf% -remote "query %id% cmaps" | %PAGER% cmd cmds !%lf% -remote "query %id% cmds" | %PAGER% +The defaults for Windows are using `cmd` syntax. +A `PowerShell` compatible configuration file can be found at +https://github.com/gokcehan/lf/blob/master/etc/lfrc.ps1.example + The following additional keybindings are provided by default: map zh set hidden! diff --git a/doc.txt b/doc.txt index 4ba08947..d4997e0f 100644 --- a/doc.txt +++ b/doc.txt @@ -278,6 +278,10 @@ The following commands/keybindings are provided by default: cmd cmaps !%lf% -remote "query %id% cmaps" | %PAGER% cmd cmds !%lf% -remote "query %id% cmds" | %PAGER% +The defaults for Windows are using cmd syntax. A PowerShell compatible +configuration file can be found at +https://github.com/gokcehan/lf/blob/master/etc/lfrc.ps1.example + The following additional keybindings are provided by default: map zh set hidden! diff --git a/lf.1 b/lf.1 index f1c22425..efdea09b 100644 --- a/lf.1 +++ b/lf.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.7.0.2 .\" -.TH "LF" "1" "2025\-08\-28" "r37" "DOCUMENTATION" +.TH "LF" "1" "2025\-09\-07" "r37" "DOCUMENTATION" .SH NAME lf \- terminal file manager .SH SYNOPSIS @@ -300,6 +300,11 @@ cmd cmaps !%lf% \-remote \(dqquery %id% cmaps\(dq | %PAGER% cmd cmds !%lf% \-remote \(dqquery %id% cmds\(dq | %PAGER% .EE .PP +The defaults for Windows are using \f[CR]cmd\f[R] syntax. +A \f[CR]PowerShell\f[R] compatible configuration file can be found at \c +.UR https://github.com/gokcehan/lf/blob/master/etc/lfrc.ps1.example +.UE \c +.PP The following additional keybindings are provided by default: .IP .EX