From 403d9691cb5fc78804e8b1b9f86b0e27e66127c1 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Mon, 17 Jul 2017 21:13:21 -0700 Subject: [PATCH] fix handling of `ssh` aliases Fixes #4213 --- share/functions/__fish_print_hostnames.fish | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/share/functions/__fish_print_hostnames.fish b/share/functions/__fish_print_hostnames.fish index dfd0c5f1e..8844154d2 100644 --- a/share/functions/__fish_print_hostnames.fish +++ b/share/functions/__fish_print_hostnames.fish @@ -17,13 +17,15 @@ function __fish_print_hostnames -d "Print a list of known hostnames" string match -r '^\s*[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3]:|^[a-zA-Z\.]*:'