1b36c1beae21dafead692f83a099bdd69a0c6e50

Author
mapc <musikmichael@web.de>
Committer
mapc <musikmichael@web.de>
Date

Message

Remove debug info

Diff

 1diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh
 2index b6f9fd2bf5d9571b968639f907dc9f70e60b256d..722b83c30947a4feec679bc892dc2ce90b76ed6c 100644
 3--- a/plugins/debian/debian.plugin.zsh
 4+++ b/plugins/debian/debian.plugin.zsh
 5@@ -118,16 +118,13 @@ apt_pref_compdef() {
 6     local f fb
 7     f="_apt_pref_${2}"
 8 
 9-    fb="function ${f}() {
10+    eval "function ${f}() {
11         shift words; 
12 	service=\"\$apt_pref\"; 
13 	words=(\"\$apt_pref\" '$2' \$words); 
14 	((CURRENT++))
15 	test \"\${apt_pref}\" = 'aptitude' && _aptitude || _apt
16     }"
17-    
18-    eval "$fb"
19-    echo "$fb"
20 
21     compdef "$f" "$1"
22 }