fix(fzf): fix check for true Debian-like in debian setup function (#11460)

Check for `apt` and `apt-get` in debian setup function.
Look for exact directory in debian-like setup function.

Fixes #11459
This commit is contained in:
Marc Cornellà 2023-01-27 16:22:27 +01:00 committed by GitHub
commit b0bffcaf86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 11 deletions

View file

@ -50,12 +50,3 @@ Set whether to disable key bindings (CTRL-T, CTRL-R, ALT-C):
```zsh
DISABLE_FZF_KEY_BINDINGS="true"
```
### Skip `dpkg` loading
If you have `dpkg` available in your `$PATH` but you don't want to load `fzf` from there, and facing some
issues, you can define this option before loading `oh-my-zsh` in order to skip that loading:
```zsh
zstyle ':omz:plugins:fzf' skip-dpkg yes
```