Use basename when listing servers for `abra new`
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luke Murphy 2020-10-28 18:05:53 +01:00
parent 5df3a9fffb
commit 3b730d314b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 1 deletions

2
abra
View File

@ -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)"