Browse Source

fzf: fix regression (#8269)

Typo introduced in f56b678 fixing #8253
Jakub Łuczyński 5 years ago
parent
commit
563c0708ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/fzf/fzf.plugin.zsh

+ 1 - 1
plugins/fzf/fzf.plugin.zsh

@@ -58,7 +58,7 @@ function setup_using_base_dir() {
 
 
 function setup_using_debian_package() {
-    (( $+command[dpkg] )) && dpkg -s fzf &> /dev/null
+    (( $+commands[dpkg] )) && dpkg -s fzf &> /dev/null
     if (( $? )); then
         # Either not a debian based distro, or no fzf installed. In any case skip ahead
         return 1