浏览代码

fzf: fix regression (#8269)

Typo introduced in f56b678 fixing #8253
Jakub Łuczyński 5 年之前
父节点
当前提交
563c0708ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  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