aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/pacman-color.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-07-17 14:15:28 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-19 18:03:01 -0700
commit882f4714ac75732cb69999ea4ab82e8662f53031 (patch)
tree3b9fdfbb08949362e15ffaba5326ce0516fdd847 /share/completions/pacman-color.fish
parente7273e1d81e1ef7c6151624087b4e73661005b33 (diff)
pacman completion: Turn into regular completion
This used to be a function because we didn't have complete -w Use that and it becomes a bit simpler. This also simplifies the code in a few other ways (like removing a useless-use-of-cat) and adds comments about a few edgecases.
Diffstat (limited to 'share/completions/pacman-color.fish')
-rw-r--r--share/completions/pacman-color.fish4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/completions/pacman-color.fish b/share/completions/pacman-color.fish
index 6a6377f2..a32caa55 100644
--- a/share/completions/pacman-color.fish
+++ b/share/completions/pacman-color.fish
@@ -1,3 +1 @@
-
-__fish_complete_pacman pacman-color
-
+complete -c pacman-color -w pacman