563c0708ab7100c23aab218a9053a61d81fe1317
- Author
- Jakub Łuczyński <doubleloop@users.noreply.github.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
fzf: fix regression (#8269)
Typo introduced in f56b678 fixing #8253
Diff
1diff --git a/plugins/fzf/fzf.plugin.zsh b/plugins/fzf/fzf.plugin.zsh
2index f701fdf3252e7dd8e3a7f8f78313f4c3f3aad313..fe471a363f9d17dd7572b5d486f4f680192d46b6 100644
3--- a/plugins/fzf/fzf.plugin.zsh
4+++ b/plugins/fzf/fzf.plugin.zsh
5@@ -58,7 +58,7 @@ function setup_using_base_dir() {
6
7
8 function setup_using_debian_package() {
9- (( $+command[dpkg] )) && dpkg -s fzf &> /dev/null
10+ (( $+commands[dpkg] )) && dpkg -s fzf &> /dev/null
11 if (( $? )); then
12 # Either not a debian based distro, or no fzf installed. In any case skip ahead
13 return 1