From 3b730d314b6b5a049716c11d5b12435356f0365f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 28 Oct 2020 18:05:53 +0100 Subject: [PATCH] Use basename when listing servers for `abra new` --- abra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abra b/abra index 1241f2c..8847525 100755 --- a/abra +++ b/abra @@ -414,7 +414,7 @@ sub_app_new (){ echo -n "$(tput setaf 4)" for i in "${!SERVERS[@]}"; do - printf " %s)\t%s\n" "$i" "${SERVERS[$i]}" + printf " %s)\t%s\n" "$i" $(basename "${SERVERS[$i]}") done echo -n "$(tput sgr0)"