Browse Source

Updated Yii2 command completion

ekaragodin 10 years ago
parent
commit
00ff1bbd1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/yii2/yii2.plugin.zsh

+ 2 - 2
plugins/yii2/yii2.plugin.zsh

@@ -20,10 +20,10 @@ _yii2 () {
         name=$words[2]
         name=$words[2]
       fi
       fi
 
 
-      commands=(${(f)"$(./yii help $name | _yii2_format_command)"})
+      commands=(${(f)"$(./yii help $name --color=0 | _yii2_format_command)"})
       compadd -Q -S '' -a -- commands
       compadd -Q -S '' -a -- commands
     esac
     esac
   fi
   fi
 }
 }
 
 
-compdef _yii2 yii
+compdef _yii2 yii