We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 108cce4 + ea07616 commit b8ce75fCopy full SHA for b8ce75f
completions/ip
@@ -222,13 +222,16 @@ _comp_cmd_ip()
222
223
addrlabel)
224
case $subcmd in
225
- list | add | del | flush)
+ add | del)
226
if [[ $prev == dev ]]; then
227
_comp_compgen_available_interfaces
228
+ elif [[ $prev == prefix || $prev == label ]]; then
229
+ : # TODO - Is there a way to complete these?
230
else
- : # TODO
231
+ _comp_compgen -- -W 'dev prefix label'
232
fi
233
;;
234
+ list | flush | help) ;;
235
*)
236
((cword == subcword)) &&
237
_comp_compgen -- -W 'help list add del flush'
0 commit comments