mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
Remove debug info
This commit is contained in:
parent
5f37649508
commit
1b36c1beae
@ -118,16 +118,13 @@ apt_pref_compdef() {
|
|||||||
local f fb
|
local f fb
|
||||||
f="_apt_pref_${2}"
|
f="_apt_pref_${2}"
|
||||||
|
|
||||||
fb="function ${f}() {
|
eval "function ${f}() {
|
||||||
shift words;
|
shift words;
|
||||||
service=\"\$apt_pref\";
|
service=\"\$apt_pref\";
|
||||||
words=(\"\$apt_pref\" '$2' \$words);
|
words=(\"\$apt_pref\" '$2' \$words);
|
||||||
((CURRENT++))
|
((CURRENT++))
|
||||||
test \"\${apt_pref}\" = 'aptitude' && _aptitude || _apt
|
test \"\${apt_pref}\" = 'aptitude' && _aptitude || _apt
|
||||||
}"
|
}"
|
||||||
|
|
||||||
eval "$fb"
|
|
||||||
echo "$fb"
|
|
||||||
|
|
||||||
compdef "$f" "$1"
|
compdef "$f" "$1"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user