mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Remove debug info
This commit is contained in:
parent
5f37649508
commit
1b36c1beae
1 changed files with 1 additions and 4 deletions
|
@ -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 a new issue