Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
1b36c1be
Commit
1b36c1be
authored
Jun 30, 2012
by
mapc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug info
parent
5f376495
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
debian.plugin.zsh
plugins/debian/debian.plugin.zsh
+1
-4
No files found.
plugins/debian/debian.plugin.zsh
View file @
1b36c1be
...
@@ -118,16 +118,13 @@ apt_pref_compdef() {
...
@@ -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
"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment