浏览代码

Remove debug info

mapc 12 年之前
父节点
当前提交
1b36c1beae
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      plugins/debian/debian.plugin.zsh

+ 1 - 4
plugins/debian/debian.plugin.zsh

@@ -118,16 +118,13 @@ apt_pref_compdef() {
     local f fb
     f="_apt_pref_${2}"
 
-    fb="function ${f}() {
+    eval "function ${f}() {
         shift words; 
 	service=\"\$apt_pref\"; 
 	words=(\"\$apt_pref\" '$2' \$words); 
 	((CURRENT++))
 	test \"\${apt_pref}\" = 'aptitude' && _aptitude || _apt
     }"
-    
-    eval "$fb"
-    echo "$fb"
 
     compdef "$f" "$1"
 }