mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-20 07:51:14 -03:00
completions ip: silence stderr in case -d does not exist (busybox) (#10509)
This commit is contained in:
@@ -199,7 +199,7 @@ function __fish_ip_netns_list
|
||||
end
|
||||
|
||||
function __fish_ip_routing_tables
|
||||
command ip -d route show table all | string replace -fr '.*\stable\s(\S+).*' '$1'
|
||||
command ip -d route show table all 2>/dev/null | string replace -fr '.*\stable\s(\S+).*' '$1'
|
||||
end
|
||||
|
||||
function __fish_ip_types
|
||||
|
||||
Reference in New Issue
Block a user