Commits

Paul Ruane  committed 3c9a581

Zsh completion for queries also now honours --database.

  • Participants
  • Parent commits 150251e

Comments (0)

Files changed (1)

File misc/zsh/_tmsu

 	typeset -a tag_list
 	local tag
 
-	_call_program tmsu tmsu tags --all | while read -A tag
+	_call_program tmsu tmsu $db tags --all | while read -A tag
 	do
 		tag_list+=$tag[1]:gs/:/\\:/
 	done
-	tag_list+='and'
-	tag_list+='or'
-	tag_list+='not'
+	tag_list+='AND'
+	tag_list+='OR'
+	tag_list+='NOT'
 
 	_describe -t tags 'tags' tag_list
 }