mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2025-04-07 08:41:51 +00:00
Bypass alias in fzf preview (#329)
This commit is contained in:
parent
dc64d912ab
commit
90e781a192
@ -12,13 +12,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Manpages: moved to `man/man1/*.1`.
|
- Manpages: moved to `man/man1/*.1`.
|
||||||
- Fzf: added `--keep-right` option by default, upgraded minimum version to v0.21.0.
|
|
||||||
- Bash: only enable completions on 4.4+.
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Rename `_z` completion function to avoid conflicts with other shell plugins.
|
- Bash/Zsh: rename `_z` completion function to avoid conflicts with other shell plugins.
|
||||||
- Elvish: upgrade to new lambda syntax.
|
- Elvish: upgrade to new lambda syntax.
|
||||||
|
- Fzf: added `--keep-right` option by default, upgraded minimum version to v0.21.0.
|
||||||
|
- Bash: only enable completions on 4.4+.
|
||||||
|
- Fzf: bypass `ls` alias in preview window.
|
||||||
|
|
||||||
## [0.8.0] - 2021-12-25
|
## [0.8.0] - 2021-12-25
|
||||||
|
|
||||||
|
@ -38,7 +38,8 @@ impl Fzf {
|
|||||||
"--bind=ctrl-z:ignore",
|
"--bind=ctrl-z:ignore",
|
||||||
]);
|
]);
|
||||||
if cfg!(unix) {
|
if cfg!(unix) {
|
||||||
command.arg("--preview=ls -p {2..}");
|
command.env("SHELL", "sh");
|
||||||
|
command.arg(r"--preview=\command -p ls -p {2..}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user