Skip to content

Commit

Permalink
fix(ip): Keep completing after -netns name
Browse files Browse the repository at this point in the history
  • Loading branch information
yedayak committed Apr 2, 2024
1 parent 1f03796 commit 1a5df4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/ip
Expand Up @@ -60,7 +60,7 @@ _comp_cmd_ip()
[[ ${words[subcword]} == -b?(atch) ]] && return
[[ $has_cmd ]] && subcmd=${words[subcword]} && break
[[ ${words[subcword]} != -* &&
${words[subcword - 1]} != -@(f?(amily)|rc?(vbuf)) ]] &&
${words[subcword - 1]} != -@(f?(amily)|rc?(vbuf)|n?(etns)) ]] &&
cmd=${words[subcword]} has_cmd=set
done

Expand Down

0 comments on commit 1a5df4f

Please sign in to comment.