mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-22 04:45:20 +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
|
||||
|
||||
- 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
|
||||
|
||||
- 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.
|
||||
- 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
|
||||
|
||||
|
@ -38,7 +38,8 @@ impl Fzf {
|
||||
"--bind=ctrl-z:ignore",
|
||||
]);
|
||||
if cfg!(unix) {
|
||||
command.arg("--preview=ls -p {2..}");
|
||||
command.env("SHELL", "sh");
|
||||
command.arg(r"--preview=\command -p ls -p {2..}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user