Fix illegal option in fzf preview window
This commit is contained in:
parent
e8a1e11848
commit
f6932dec5d
|
|
@ -56,9 +56,9 @@ impl Fzf {
|
|||
const LS_ARGS: &str = if cfg!(target_os = "linux") {
|
||||
"--color=always --group-directories-first"
|
||||
} else if cfg!(target_os = "macos") {
|
||||
"--color=always"
|
||||
} else {
|
||||
""
|
||||
} else {
|
||||
"--color=always"
|
||||
};
|
||||
command
|
||||
.args(&[&format!(r"--preview=\command -p ls -Cp {LS_ARGS} {{2..}}"), "--preview-window=down,30%"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue