mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Update Navi's code
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
This commit is contained in:
parent
9128f453d2
commit
31b831317a
2 changed files with 3 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ fn prompt_finder(
|
|||
|
||||
let exe = fs::exe_string();
|
||||
|
||||
let preview = if cfg!(target_os = "windows") {
|
||||
let preview = if CONFIG.shell().contains("cmd.exe") {
|
||||
format!(
|
||||
r#"(@echo.{{+}}{eof}{{q}}{eof}{name}{eof}{extra}) | {exe} preview-var-stdin"#,
|
||||
exe = exe,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@ pub enum Shell {
|
|||
Zsh,
|
||||
Fish,
|
||||
Elvish,
|
||||
Nushell
|
||||
Nushell,
|
||||
PowerShell
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue