mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Update nftables completion
add completion for set/map name in `nft add/delete element [family] table <tab>`
This commit is contained in:
+5
-1
@@ -242,8 +242,12 @@ while true;do
|
||||
descriptors=(": : _nft_object $cmd_fam $cmd_tab $cmd_obj false")
|
||||
nextstate="start"
|
||||
;;
|
||||
(add-element | delete-element)
|
||||
cmd_tab=$line[1]
|
||||
descriptors=(": : _nft_object $cmd_fam $cmd_tab '\(map\|set\)' false")
|
||||
nextstate="start"
|
||||
;;
|
||||
#TODO:
|
||||
#(add-element | delete-element)
|
||||
#(add-set | add-map)
|
||||
#(add-flowtable)
|
||||
#("add-ct\ helper")
|
||||
|
||||
Reference in New Issue
Block a user