aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/apt-get.fish
diff options
context:
space:
mode:
authorGravatar MagicMuscleMan <pat_h@web.de>2013-09-29 13:35:03 +0200
committerGravatar MagicMuscleMan <pat_h@web.de>2013-09-29 13:35:03 +0200
commit843944f5580388fa0c754a4efba46c98485f4f8d (patch)
treec427903f574a32a63333a59171a9e79bbdb23a0b /share/completions/apt-get.fish
parent991c900fc6d55de3c11f23d06b5c06393abb1b2d (diff)
Complete apt-get purge identical to apt-get remove
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
Diffstat (limited to 'share/completions/apt-get.fish')
-rw-r--r--share/completions/apt-get.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/apt-get.fish b/share/completions/apt-get.fish
index 1f87d694..4037df08 100644
--- a/share/completions/apt-get.fish
+++ b/share/completions/apt-get.fish
@@ -2,7 +2,7 @@
function __fish_apt_no_subcommand --description 'Test if apt has yet to be given the subcommand'
for i in (commandline -opc)
- if contains -- $i update upgrade dselect-upgrade dist-upgrade install remove source build-dep check clean autoclean
+ if contains -- $i update upgrade dselect-upgrade dist-upgrade install remove purge source build-dep check clean autoclean
return 1
end
end
@@ -11,7 +11,7 @@ end
function __fish_apt_use_package --description 'Test if apt command should have packages as potential completion'
for i in (commandline -opc)
- if contains -- $i contains install remove build-dep
+ if contains -- $i contains install remove purge build-dep
return 0
end
end