mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
docs: preview command runs with sh/cmd, not SHELL
This commit is contained in:
parent
c398374a85
commit
d2ae57625f
|
|
@ -51,6 +51,13 @@ inherits = "release"
|
|||
debug = true
|
||||
strip = false
|
||||
|
||||
[profile.dev]
|
||||
debug = "line-tables-only"
|
||||
split-debuginfo = "unpacked"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
debug = false
|
||||
|
||||
[lints.rust]
|
||||
missing_docs = "warn"
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage, coverage_nightly)'] }
|
||||
|
|
|
|||
|
|
@ -514,9 +514,9 @@ Maximum number of query history entries to keep
|
|||
\fB\-\-preview\fR \fI<PREVIEW>\fR
|
||||
Preview command
|
||||
|
||||
Execute the given command for the current line and display the result on the preview window. {} in the command
|
||||
is the placeholder that is replaced to the single\-quoted string of the current line. To transform the
|
||||
replacement string, specify field index expressions between the braces (See FIELD INDEX EXPRESSION for the details).
|
||||
Execute the given command with `sh \-c` on linux and `cmd /c` on windows for the current line and display the result on the preview window.
|
||||
`{}` in the command is the placeholder that is replaced to the single\-quoted string of the current line.
|
||||
To transform the replacement string, specify field index expressions between the braces (See FIELD INDEX EXPRESSION for the details).
|
||||
|
||||
**Examples**:
|
||||
|
||||
|
|
|
|||
|
|
@ -702,9 +702,9 @@ pub struct SkimOptions {
|
|||
// --- Preview ---
|
||||
/// Preview command
|
||||
///
|
||||
/// Execute the given command for the current line and display the result on the preview window. {} in the command
|
||||
/// is the placeholder that is replaced to the single-quoted string of the current line. To transform the
|
||||
/// replacement string, specify field index expressions between the braces (See FIELD INDEX EXPRESSION for the details).
|
||||
/// Execute the given command with `sh -c` on linux and `cmd /c` on windows for the current line and display the result on the preview window.
|
||||
/// `{}` in the command is the placeholder that is replaced to the single-quoted string of the current line.
|
||||
/// To transform the replacement string, specify field index expressions between the braces (See FIELD INDEX EXPRESSION for the details).
|
||||
///
|
||||
/// **Examples**:
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue