diff --git a/share/functions/ip.fish b/share/functions/ip.fish new file mode 100644 index 000000000..6c94c3e52 --- /dev/null +++ b/share/functions/ip.fish @@ -0,0 +1,9 @@ +# +# Enable ip colored output if available +# + +if command -sq ip; and command ip -color=auto link >/dev/null 2>/dev/null + function ip + command ip -color=auto $argv + end +end