From 7d896f391a12a9752db10a017f4448b2bc4aa9fa Mon Sep 17 00:00:00 2001 From: steven-omaha <35634100+steven-omaha@users.noreply.github.com> Date: Tue, 6 Jun 2023 15:01:15 +0200 Subject: [PATCH] feat(export): zsh completion --- _completion.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_completion.zsh b/_completion.zsh index 5204f38..8a81851 100644 --- a/_completion.zsh +++ b/_completion.zsh @@ -25,8 +25,10 @@ _pacdef() { function _group_actions { local -a group_actions group_actions=( - 'e:edit an imported group file' + 'ed:edit an imported group file' 'edit:edit an imported group file' + 'ex:export a non-symlink group' + 'export:export a non-symlink group' 'l:show names of imported groups' 'list:show names of imported groups' 'i:import a new group file' @@ -88,7 +90,7 @@ _pacdef() { (l|list) _message "no more arguments" && ret=0 ;; - (e|edit|r|remove|s|show) + (ed|edit|r|remove|s|show) _arguments "*:group file(s):_files -W '$GROUPDIR'" && ret=0 ;;