Browse Source

Updated completion to work with comma seperated list

futjikato 10 years ago
parent
commit
9afb139d20
1 changed files with 2 additions and 1 deletions
  1. 2 1
      custom/plugins/gitignore/gitignore.plugin.zsh

+ 2 - 1
custom/plugins/gitignore/gitignore.plugin.zsh

@@ -5,7 +5,8 @@ _gitignireio_get_command_list() {
 }
 
 _gitignireio () {
-  compadd `_gitignireio_get_command_list`
+  compset -P '*,'
+  compadd -S '' `_gitignireio_get_command_list`
 }
 
 compdef _gitignireio gi