mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 18:21:13 -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
|
end
|
||||||
|
|
||||||
function __fish_ip_routing_tables
|
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
|
end
|
||||||
|
|
||||||
function __fish_ip_types
|
function __fish_ip_types
|
||||||
|
|||||||
Reference in New Issue
Block a user