mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 07:50:09 +08:00
Remove debug info
This commit is contained in:
parent
5f37649508
commit
1b36c1beae
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user